ambigious 'top' results

Mel fbsd.questions at rachie.is-a-geek.net
Wed Dec 17 07:50:55 UTC 2008


On Tuesday 16 December 2008 16:31:35 Wojciech Puchar wrote:
> are you using 7-branch?
>
> in my 7.1 system there is same problem. top shows often nonsense in CPU
> usage of a process, but totals are OK.

there's 4.3% system, so use top -S to show system processes.

> you even gave an example - bzip2 can't use 0% CPU running - more close to
> 100% :)

If bzip2 is blocked, it'll be running at 0%. Example:
bzip2 -cf - /path/to/large/file | (sleep 900; cat - > /dev/null)

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list