LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 11-09-2006, 07:08 AM   #1
swaroopjoshi
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, 05:08 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
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.
 
  


Reply


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 05:09 AM
differences in task_struct between 2.4 and 2.6 ploo Linux - General 1 04-20-2006 01:36 PM
accessing task_struct of process shukla_chanchal Linux - General 1 11-04-2005 10:27 PM
How to use task_struct to get process information?? Pratik H Pandya Programming 2 09-15-2005 04:40 AM
Stuct task_struct dami Programming 1 10-13-2003 02:13 PM


All times are GMT -5. The time now is 06:03 PM.

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