systat - Handle larger numbers, cleanup
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Nov 2011 03:30:11 +0000 (19:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Nov 2011 03:30:11 +0000 (19:30 -0800)
commiteb79cb7cea084f5abbb57f5afd11b9469138b793
tree8d2cd23f275c41732021a431f8672b41e9b25c2f
parentcd4f84781b3194e1dcbf26f623fa60d1c685d736
systat - Handle larger numbers, cleanup

* Print more precision for numbers greater than 999k

* Normalize displayed values so everything is in bytes
  (converted to kBytes, mBytes, gBytes, etc as required).

* Remove the -pv 1 contention display, which is not currently
  operational in the kernel anyway.
usr.bin/systat/vmmeter.c
usr.bin/systat/vmstat.c