aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-02-08 02:39:45 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-02-08 02:39:45 +0000
commit2d7142ca1a0cbd5ed692a361385be2733670fffb (patch)
tree85f7de399a0eb843b918ab81ff0a9b6e052382ac /usr.bin/systat
parent8b4c04d3f3db02b7333f2cf8074cd4783db2929e (diff)
downloadsrc-2d7142ca1a0cbd5ed692a361385be2733670fffb.tar.gz
src-2d7142ca1a0cbd5ed692a361385be2733670fffb.zip
Include discrete ozfod as well as ozfod/zfod percentage.
Notes
Notes: svn path=/head/; revision=43757
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/vmstat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 787e68e7aae5..ca45c483ff26 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
static const char rcsid[] =
- "$Id: vmstat.c,v 1.32 1999/01/09 06:03:54 obrien Exp $";
+ "$Id: vmstat.c,v 1.33 1999/02/08 02:11:52 dillon Exp $";
#endif /* not lint */
/*
@@ -352,8 +352,9 @@ labelkre()
* room for extended VM stats
*/
mvprintw(VMSTATROW + 11, VMSTATCOL - 6, "zfod");
- mvprintw(VMSTATROW + 12, VMSTATCOL - 6, "%%slo-z");
- mvprintw(VMSTATROW + 13, VMSTATCOL - 6, "tfree");
+ mvprintw(VMSTATROW + 12, VMSTATCOL - 6, "ofod");
+ mvprintw(VMSTATROW + 13, VMSTATCOL - 6, "%%slo-z");
+ mvprintw(VMSTATROW + 14, VMSTATCOL - 6, "tfree");
extended_vm_stats = 1;
} else {
extended_vm_stats = 0;
@@ -488,19 +489,18 @@ showkre()
PUTRATE(Cnt.v_intrans, VMSTATROW + 12, VMSTATCOL, 9);
if (extended_vm_stats) {
- Y(Cnt.v_ozfod);
-
PUTRATE(Cnt.v_zfod, VMSTATROW + 11, VMSTATCOL - 16, 9);
+ PUTRATE(Cnt.v_ozfod, VMSTATROW + 12, VMSTATCOL - 16, 9);
putint(
((s.Cnt.v_ozfod < s.Cnt.v_zfod) ?
s.Cnt.v_ozfod * 100 / s.Cnt.v_zfod :
0
),
- VMSTATROW + 12,
+ VMSTATROW + 13,
VMSTATCOL - 16,
9
);
- PUTRATE(Cnt.v_tfree, VMSTATROW + 13, VMSTATCOL - 16, 9);
+ PUTRATE(Cnt.v_tfree, VMSTATROW + 14, VMSTATCOL - 16, 9);
}
putint(s.bufspace/1024, VMSTATROW + 13, VMSTATCOL, 9);