freebsd-dev/usr.bin/systat
Bruce Evans dc8ccdf0dc Fix all (?) cases where the field width of a numeric field was far too
large.  In most cases it is still 1 too large, so fields tend to run
together, but in the following cases it was more than 1 too large, and
the starting column was too small too, so the field started inside the
previous field or descriptor and clobbered that:
- "wire": the number for this overwrote 2 characters of the number for
  "Flt".  Reduce the field width by 3 (2 to avoid the overwrite and 1
  so that the fields don't run together).  This was already done for
  the preceding number for "cow".
- "inact": the number for this overwrote 1 character of the descriptor
  "Idle".  Reducing the field width by 2 is enough.
- "cache:" the number for this overwrote 3 characters of the scale
  "...|    |".  The field width should be reduced by 4 to keep things
  from running together, but that is a lot and not so necessary here
  since the final "|" in the scale serves as a delimiter.  Only reduce
  it by 3.
- "free": the number for this overwrote 2 characters of the bar graph.
  The character position under the final "|" in the scale is apparently
  not used, so reducing the field width by 3 is enough.

When "zfod" is in the main vmstat display:
- use the normal field width of 9 (not 5) for it since there is no shortage
  of space.  Fix style bugs (excessive {}) in the statement that
  conditionally writes it.

Write all reduced field widths for vmstat fields as "9 - <reduction>" as
a hint that we don't want to reduce them.
2006-02-14 07:44:21 +00:00
..
cmds.c
cmdtab.c Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
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 When a numeric field overflows its width, try formatting the number in 2003-10-20 20:13:50 +00:00
devs.h
extern.h Fix the easy warnings: 2004-03-09 11:57:28 +00:00
fetch.c
icmp6.c Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
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 Add ip6 and icmp6 displays to systat. 2003-08-01 20:28:20 +00:00
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 Fix all (?) cases where the field width of a numeric field was far too 2006-02-14 07:44:21 +00:00