git: systat: Change the way ifstats are displayed.

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Aug 27 21:17:31 PDT 2011


commit f763dd085f6605ee8a84132d0d6e51234f858bd7
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sat Aug 27 21:00:29 2011 -0700

    systat:  Change the way ifstats are displayed.
    
    -Default to displaying bits/s for the rate, and bytes for the totals.
    -kilo, mega, giga, tera are all powers of 1000, not 1024.
    -Add two new commands: autobyte and autobit which will automatically
    change the scale factor in bytes or bits, respectively.  auto defaults
    to displaying bits.

Summary of changes:
 usr.bin/systat/convtbl.c |   58 ++++++++++++++++++++++-----------------------
 usr.bin/systat/convtbl.h |    2 +
 usr.bin/systat/ifstat.c  |    4 +-
 3 files changed, 32 insertions(+), 32 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f763dd085f6605ee8a84132d0d6e51234f858bd7


-- 
DragonFly BSD source repository





More information about the Commits mailing list