freebsd-dev/usr.bin/systat
Bruce Evans 991d33c312 Reduce the field width by 1 for many numeric fields so that most fields
cannot run into other fields or field descriptors.  If the value is
too large to fit in the field width, then the output format is adjusted
so that the value (usually) fits, but with fields running together
externally this adjustment usually didn't help.  Mostly it doesn't
matter to lose 1 digit of precision, but switching the output format
is bad if it happens often or gives bogus units.  The loss of width
is most serious for fields near "Csw" (which are also the ones which
must often ran together) since these have a high variance and large
values relative to the possible field widths so the switch occurs more
often now, and for the memory size fields where the switch gives the
bogus units kKB or MKB.

Now only the fields for r, p, d, s and w can run into each other.
These fields have width 3, and 3 cannot be reduced to 2 without losing
all precision when the value is between 100 and 999.

Trim "pdwake" to "pdwak" at think time now that it doesn't get clobbered
at runtime.  The manpage doesn't need to be changed for this because
it documents the clobbered descriptor, unlike for 4 other too-long
descriptors which only get clobbered if there are lots of interrupt
sources.

Trim "% busy" to "%busy" since most other descriptors for percentages
are spelled without the space and this change makes changing the widths
of the %busy fields unnecessary.
2006-02-14 10:47:36 +00:00
..
cmds.c
cmdtab.c
convtbl.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
convtbl.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
devs.c
devs.h
extern.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
fetch.c
icmp6.c
icmp.c
ifcmds.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
ifstat.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
iostat.c Copy cur's snap_time to last when refreshing statistics. Fixes problem 2003-11-01 02:06:02 +00:00
ip6.c
ip.c
keyboard.c
main.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
Makefile Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
mbufs.c Remove unused variables. 2005-04-09 14:31:41 +00:00
mode.c
mode.h
netcmds.c
netstat.c simply ignore unknown address family. 2005-02-19 16:54:26 +00:00
pigs.c Include systat.h for cmdtab, to make gcc4 happy. 2005-05-02 10:50:10 +00:00
swap.c
systat.1 Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
systat.h
tcp.c Demangled vendor ids. Fixed misplaced FreeBSD id. 2004-02-25 13:26:53 +00:00
vmstat.c Reduce the field width by 1 for many numeric fields so that most fields 2006-02-14 10:47:36 +00:00