mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Amanulla G" <amanulla@india.hp.com>
To: "'Arjan van de Ven'" <arjan@infradead.org>,
	<linux-kernel@vger.kernel.org>
Cc: <jdp@india.hp.com>
Subject: RE: /proc on 2.4.21 & 2.6 kernels....
Date: Tue, 5 Apr 2005 21:52:32 +0530	[thread overview]
Message-ID: <200504051632.WAA05569@harvest.india.hp.com> (raw)
In-Reply-To: <1112714309.6275.68.camel@laptopd505.fenrus.org>

 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.





  reply	other threads:[~2005-04-05 16:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05 15:11 Amanulla G
2005-04-05 15:18 ` Arjan van de Ven
2005-04-05 16:22   ` Amanulla G [this message]
2005-04-05 16:35     ` Arjan van de Ven
2005-05-03 18:35       ` Amanulla G
2005-05-03 19:34 Parag Warudkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504051632.WAA05569@harvest.india.hp.com \
    --to=amanulla@india.hp.com \
    --cc=arjan@infradead.org \
    --cc=jdp@india.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®