cvs commit: src/usr.bin/systat devs.c vmstat.c

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Oct 20 13:20:12 PDT 2003


In message <200310202013.h9KKDpnr086806 at repoman.freebsd.org>, Poul-Henning Kamp
 writes:
>phk         2003/10/20 13:13:51 PDT
>
>  FreeBSD src repository
>
>  Modified files:
>    usr.bin/systat       devs.c vmstat.c 
>  Log:
>  When a numeric field overflows its width, try formatting the number in
>  'kilo' or 'mega' with appropriate suffix instead of filling the field
>  with stars.

I'm impressed that today we have hardware which needs this...

Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt        cow     231 total
     1     1 24     23654    2 377K  33311788       91592 wire        stray 0

Opteron 240, single-CPU, running:
	 dd bs=512k count=100000 < /dev/zero | cat > /dev/null

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list