]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a '-l' flag to show CPU load for the various states, similar to what
authorluigi <luigi@FreeBSD.org>
Fri, 14 Dec 2001 01:10:50 +0000 (01:10 +0000)
committerluigi <luigi@FreeBSD.org>
Fri, 14 Dec 2001 01:10:50 +0000 (01:10 +0000)
commitbe0e572294d7683426b3e00996ab3ee1c3229ab9
tree6b73b898064316575931fb960cf529f57dbab326
parenta6be0b0189c6aa7058163245f672f9a1608efc5d
Add a '-l' flag to show CPU load for the various states, similar to what
"top" does (thinking of it, i could have as well used the same format line!)

This only makes sense when "-w" option is also specified, because the
load is computed as the difference between subsequent samples.

I think this (and the "-d" feature which shows differences in the
network statistics counts) would also make sense in the standard
vmstat and netstat.
release/picobsd/tinyware/ns/ns.c