[PATCH] make top.c even smaller #3
Rob Landley
rob at landley.net
Thu Feb 16 18:39:40 UTC 2006
On Thursday 16 February 2006 6:19 am, Denis Vlasenko wrote:
> > Also. Busybox`s top is port from procps-3.0.2.
>
> Just checked top from procps-3.2.3. It also considers iowait as idle.
>
> Tested with "find / >/dev/null" - it uses ~5% CPU according to top.
>
> If iowait is considered "busy" instead, find should have
> much more CPU time listed.
Current versions of top list iowait separately, and so should we. If a
machine is swapping its guts out that's a good thing to know.
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list