systat: Change the way ifstats are displayed.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 28 Aug 2011 04:00:29 +0000 (21:00 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 28 Aug 2011 04:15:22 +0000 (21:15 -0700)
commitf763dd085f6605ee8a84132d0d6e51234f858bd7
tree41cb015b0e159013c130bfc728b9a2be3b9f6c94
parenta64bdeb10ad2dfa67a2e6d47fba6c6285957ba5a
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.
usr.bin/systat/convtbl.c
usr.bin/systat/convtbl.h
usr.bin/systat/ifstat.c