LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 08-06-2008, 04:33 AM   #1
linuxdoniv
Member
 
Registered: Mar 2008
Posts: 63

Rep: Reputation: 15
/proc/pid/status , is the data related to all the threads of the process......


Hi,

Is the data in /proc/pid/status is related to all the threads of the process pid. Does the data even include the resource consumption by the processes which the process with pid contacted through rpc mechansims..

Please comment. Thnaks....
 
Old 08-06-2008, 05:04 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by linuxdoniv View Post
Is the data in /proc/pid/status is related to all the threads of the process pid.
That depends on your OS, since on Linux threads have their own PID which seems not to be the case is most other unices.

Quote:
Originally Posted by linuxdoniv View Post
Does the data even include the resource consumption by the processes which the process with pid contacted through rpc mechansims..
I can hardly imagine that possible at all. Would it make sense?
 
Old 08-07-2008, 12:51 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Actually, in the 2.4 kernel, each thread had its own process/pid, but in 2.6 they (threads) are all in the one process, so only 1 pid appears.
 
  


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
uid and gid fileds from /proc/pid/status sanjaykhuntia Linux - Enterprise 2 02-11-2011 02:35 PM
how to read /proc/pid/status in sched.c linuxdoniv Programming 3 07-21-2008 10:49 PM
how to get process status using pid? hongxing Linux - Software 2 04-11-2006 08:11 AM
VmSize : Regarding /proc/<pid>/status shivaligupta Programming 0 04-06-2006 05:33 AM
Process Resurrection and /proc/pid lackluster Programming 3 03-20-2006 06:17 PM


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

Main Menu
Advertisement
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