Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 11:33:46 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Roberto Nunnari <roberto.nunnari@supsi.ch>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: top: what processes use the CPU?
Message-ID:  <8456CA11-8076-45EF-B5A8-E79319C22D4A@lassitu.de>
In-Reply-To: <44DAF7D7.6000608@supsi.ch>
References:  <44DAD47B.3030600@supsi.ch> <ED756A9A-3591-4DD7-8DC7-65FFD6E7FD6B@lassitu.de> <44DAF7D7.6000608@supsi.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 10.08.2006 um 11:09 schrieb Roberto Nunnari:

> Stefan Bethke wrote:
>> Am 10.08.2006 um 08:38 schrieb Roberto Nunnari:
>>> Hello everybody.
>>>
>>> Just a short question: Why top doesn't any more show what
>>> processes use the CPU? I mean.. 0.0% idle and the sum of the
>>> processes CPU doesn't reach 1.0%..
>>>
>>> as an example, while make buildkernel top shows:
>> Because the cc processes are too short lived to consistently show  
>> up when top is scanning the process table?
>
> Ok.. but as idle CPU shows 0.0%, there should be a way of getting
> the processes that finished already living but caused that 0.0% idle..
>
> What if your users are running lot of short lived processes?
> How can you find them out?

You can't with current FreeBSD tools.

Efforts are underway to port DTrace from Solaris, which allows  
gathering information like this, among many other interesting things.


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8456CA11-8076-45EF-B5A8-E79319C22D4A>