cvs commit: src/contrib/top commands.c machine.h top.c
src/usr.bin/top machine.c
Ulrich Spoerlein
spoerlein at informatik.uni-wuerzburg.de
Tue May 24 18:33:39 GMT 2005
On Mon, 23.05.2005 at 10:57:20 -0600, Scott Long wrote:
> >>[...]
> >>WCPU, when displayed, is the weighted cpu percentage (this is the same
> >>value that ps(1) displays as CPU), CPU is the raw percentage and is the
> >>field that is sorted to determine the order of the processes
> >>[...]
> >>
> >>I'm not sure which FreeBSD you've been using for years, but the numbers
> >>are almost never the same for all of the machines that I have.
> >
> >I don't know what machines you're using, but on almost all the FreeBSD
> >machines I use, most of the tasks are idle, and thus CPU and WCPU will
> >be the same (0.00, 0.00). As for running tasks, yes, Brian must be
> >thinking of something else. That said, the numbers are almost always
> >the same, at least given my sample set.
>
> Sorry for not being explicit about idle processes.
IFF WCPU is the averaged CPU time, then WCPU == CPU for all constant CPU
loads, be that 0.00, 1.00 or 0.50, as long as it is constant.
Sorry for nitpicking ... :)
Ulrich Spoerlein
--
PGP Key ID: F0DB9F44 Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
More information about the cvs-src
mailing list