LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2005, 12:27 PM   #1
shukla_chanchal
Member
 
Registered: Oct 2005
Location: banglore(india)
Posts: 62

Rep: Reputation: 15
accessing task_struct of process


hi everbody

i want to access the task_struct of the process........suppose my process id is N and i want to
know the details of this process anturally i ahve to access the task_struct

can anyone tell me that

i know that its really dificult but i want to kanow that

can anyone give me little code to do that

i know ps,top will do it easily but i dont have to use these
help me
 
Old 11-04-2005, 09:27 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 47
even from within a process even a kernel process you are not suposed to mess with task_struct
certainly from outside a process you cannot access it.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use task_struct to get process information?? Pratik H Pandya Programming 2 09-15-2005 03:40 AM
Adding a new Field to Task_struct linusclone Programming 2 04-08-2005 11:54 AM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 01:19 PM
accessing process address space linorg Programming 5 04-15-2004 01:13 PM
Stuct task_struct dami Programming 1 10-13-2003 01:13 PM


All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration