git: vmstat - Fix formatting
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 23 23:09:31 PDT 2017
commit ff0a88432f94fdcf485dde7ecc88800f83cbc40f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Oct 23 23:07:13 2017 -0700
vmstat - Fix formatting
* 'fre' memory formatting width was incorrect, causing
the rest of the field to be incorrectly offset.
* Display more precision as the field width allows.
* Add -b for 'brief' mode to display less precision.
* Add -u for 'unformatted' mode to display raw numbers (columnar
output will not be aligned).
Summary of changes:
usr.bin/vmstat/vmstat.8 | 11 ++++--
usr.bin/vmstat/vmstat.c | 92 ++++++++++++++++++++++++++++++++++++-------------
2 files changed, 78 insertions(+), 25 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff0a88432f94fdcf485dde7ecc88800f83cbc40f
--
DragonFly BSD source repository
More information about the Commits
mailing list