aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat/systat.1
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2006-04-30 07:27:23 +0000
committerBruce Evans <bde@FreeBSD.org>2006-04-30 07:27:23 +0000
commit6e977072c625df0422dce74b8653e84db1dc8808 (patch)
tree11f57bb9110980574e008b41476e32950f62b2bb /usr.bin/systat/systat.1
parenta7a6dfbd14e3b65d66ed934e4ce18abfdf73ada0 (diff)
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.
Notes
Notes: svn path=/head/; revision=158172
Diffstat (limited to 'usr.bin/systat/systat.1')
-rw-r--r--usr.bin/systat/systat.12
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1
index f0002e0dd462..dff7ad499e92 100644
--- a/usr.bin/systat/systat.1
+++ b/usr.bin/systat/systat.1
@@ -367,7 +367,7 @@ memory system which list the average number of
pages copied on write (`cow'),
pages zero filled on demand (`zfod'),
pages optimize zero filled on demand (`ozfod'),
-slow (on-the-fly) zero fills percentage (`%sloz'),
+the ratio ozfod / zfod as a percentage (`%ozfod'),
total pages freed (`totfr'),
pages wired down (`wire'),
active pages (`act'),