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

Nate Lawson nate at root.org
Mon Oct 20 13:34:42 PDT 2003


On Mon, 20 Oct 2003, Poul-Henning Kamp wrote:
> >  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
                                       ^^^^^^^^
I assume the above is a field collision through concatenation?

-Nate


More information about the cvs-all mailing list