Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-09-2006, 06:08 AM   #1
LQ Newbie
Registered: Nov 2006
Location: Bangalore, India
Posts: 11

Rep: Reputation: 0
task_struct of a process

Hi folks,
I am working on a project on process migration in linux using C language. Can you tell me how to access contents stored in task_struct for a given process?
Old 11-09-2006, 04:08 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
What parameters do you need exactly? You have a number of them available by /proc and that's the easiest way to use them. Direct access is a very tricky thing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
differences in task_struct between 2.4 and 2.6 ploo Linux - Kernel 3 04-24-2006 04:09 AM
differences in task_struct between 2.4 and 2.6 ploo Linux - General 1 04-20-2006 12:36 PM
accessing task_struct of process shukla_chanchal Linux - General 1 11-04-2005 09:27 PM
How to use task_struct to get process information?? Pratik H Pandya Programming 2 09-15-2005 03:40 AM
Stuct task_struct dami Programming 1 10-13-2003 01:13 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration