public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "dada1" <dada1@cosmosbay.com>
To: "Albert Cahalan" <albert@users.sourceforge.net>,
	"linux-kernel mailing list" <linux-kernel@vger.kernel.org>
Subject: Re: "busy" load counters
Date: Sat, 13 Sep 2003 10:36:22 +0200	[thread overview]
Message-ID: <027d01c379d2$1d7b0380$890010ac@edumazet> (raw)
In-Reply-To: 1063436451.314.9010.camel@cube


From: "Albert Cahalan" <albert@users.sourceforge.net>
> The feature is available, but you'll need to upgrade
> to procps-3.1.12 and linux-2.6.0-test4 at least.
>
> http://www.kernel.org/pub/linux/kernel/v2.6/
> http://procps.sf.net/
>

With procps-3.1.12 and linux-2.6.0-test5, top and ps reports 0.00 time for
multi-threaded programs.

It seems only the 'main' thread is now visible in /proc, and its cpu time
dont include the cpu time of other threads...

Example :

root      1238  0.0  0.0  2692 1576 pts/1    S    08:13   0:00 /bin/bash
root      1293  0.0  0.0  2692 1576 pts/1    S    08:14   0:00 /bin/bash
root      1298  0.0 19.5 716016 658460 pts/1 S    08:14   0:00 ./server
! THIS process certainly has wrong TIME
root      2465  0.0  0.0  2672 1564 pts/2    S    10:19   0:00 -bash



  reply	other threads:[~2003-09-13  8:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13  7:00 "busy" load counters Albert Cahalan
2003-09-13  8:36 ` dada1 [this message]
2003-09-13 15:39   ` Albert Cahalan
  -- strict thread matches above, loose matches on Subject: below --
2003-09-12  2:59 Xuân Baldauf

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='027d01c379d2$1d7b0380$890010ac@edumazet' \
    --to=dada1@cosmosbay.com \
    --cc=albert@users.sourceforge.net \
    --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