freebsd-dev/usr.bin/systat
Bruce Evans 6e977072c6 Fix "slow (on-the-fly) zero fills percentage (`%slo-z')" some more. The
value printed is actually the optimized (i.e., the non-slow, not-on-the-fly
zero fills percentage) except in overflow cases.  Describe it as %ozfod
in the display.  Move the field descriptor 1 to the left so that there
is space for 5 characters after the % sign (this leaves no space between
the number and the descriptor but the % character serves well as a
separator).

Fixed integer overflow at z.ozfod = UINT_MAX/100 in the calculation of
%ozfod.  This value can be reached just a few hours or minutes after
booting, so %ozfod was usually garbage in boot mode.  Now %ozfod is
correct in boot mode for a few days or hours.

Print a non-dummy %ozfod when the division for it isn't division by 0
instead of when the result will be less than 100%.  A result of 100%
may be correct, though a result of more than 100% indicates overflow
of one or both counters.
2006-04-30 07:27:23 +00:00
..
cmds.c When we close a display, mark it as not-initialized so that we will 2003-01-04 21:58:25 +00:00
cmdtab.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +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 Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
icmp.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
ifcmds.c Fix the easy warnings: 2004-03-09 11:57:28 +00:00
ifstat.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
iostat.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
ip6.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
ip.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
keyboard.c
main.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
Makefile Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
mbufs.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
mode.c
mode.h
netcmds.c
netstat.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
pigs.c Show the load average in the tcp display (it was already shown, perhaps 2006-04-30 04:26:46 +00:00
swap.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
systat.1 Fix "slow (on-the-fly) zero fills percentage (`%slo-z')" some more. The 2006-04-30 07:27:23 +00:00
systat.h Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
tcp.c Remove trailing whitespace. 2006-04-30 04:47:23 +00:00
vmstat.c Fix "slow (on-the-fly) zero fills percentage (`%slo-z')" some more. The 2006-04-30 07:27:23 +00:00