LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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, 04:04 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
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-06-2008, 11:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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