Messages in this thread | | | From | "Amanulla G" <> | Subject | RE: /proc on 2.4.21 & 2.6 kernels.... | Date | Tue, 5 Apr 2005 21:52:32 +0530 |
| |
Hi, Thanks for the mail. May be I didn't put my question correctly. On 2.4.21 based kernels /proc has got hidden directories which has got the thread related statistics. 1) /proc/pid reflects resource usage of the process 2) /proc/.pid (I Was referring to this as a thread ID). Kernel stores thread resource utilization under this directory.
My question was resource utilization (say cpu utilization) statistics under /proc/pid doesn't include resource utilization of threads which that process has created.
May be this is specific to Red Hat AS 3.0 only. I will check it.
My second part of question was: On 2.6 kernels, we have /proc/<tgid>/task/xxx My question is /proc/<tgid> stats reflect resource utilization of the threads it has created? Or do they only report resource utilization of a process with <tgid> as the pid?
Once again thanks for your reply and time.
Thanks & Best Regards, Amanulla
-----Original Message----- From: Arjan van de Ven [mailto:arjan@infradead.org] Sent: Tuesday, April 05, 2005 8:48 PM To: Amanulla G Cc: linux-kernel@vger.kernel.org; jdp@india.hp.com Subject: Re: /proc on 2.4.21 & 2.6 kernels....
On Tue, 2005-04-05 at 20:41 +0530, Amanulla G wrote: > Hi, > I would like to know the information on /proc under 2.4.21 based kernels. > > On 2.4.21 based kernels, /proc has got two types of entries. > /proc/pid & /proc/.tid
2.4 kernels do not have /proc/.tid.
Some vendor kernels might, if you ahve problems with such kernels you are much better of contacting the vendor of such a kernel instead.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |