DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: systat: Change the way ifstats are displayed.


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Aug 2011 21:16:17 -0700 (PDT)

commit f763dd085f6605ee8a84132d0d6e51234f858bd7
Author: Peter Avalos <pavalos@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]