summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1998-03-07 23:40:23 +0000
committerdyson <dyson@FreeBSD.org>1998-03-07 23:40:23 +0000
commita620a26471415282ada975f3dec661fb38862f23 (patch)
treecaa80236e418a973c5577c2c3114eb5f7fe80c1c /usr.bin/vmstat
parent9af8f68c3da9209788b5ced306196bc6cc067050 (diff)
downloadFreeBSD-src-a620a26471415282ada975f3dec661fb38862f23.zip
FreeBSD-src-a620a26471415282ada975f3dec661fb38862f23.tar.gz
Support a couple of new "-s" stats.
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 204961a..d1b953e 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: vmstat.c,v 1.21 1997/10/10 18:19:48 phk Exp $";
+ "$Id: vmstat.c,v 1.22 1997/12/05 19:28:28 bde Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -559,7 +559,9 @@ dosum()
(void)printf("%9u pages examined by the page daemon\n", sum.v_pdpages);
(void)printf("%9u pages reactivated\n", sum.v_reactivated);
(void)printf("%9u copy-on-write faults\n", sum.v_cow_faults);
+ (void)printf("%9u copy-on-write optimized faults\n", sum.v_cow_optim);
(void)printf("%9u zero fill pages zeroed\n", sum.v_zfod);
+ (void)printf("%9u zero fill pages prezeroed\n", sum.v_ozfod);
(void)printf("%9u intransit blocking page faults\n", sum.v_intrans);
(void)printf("%9u total VM faults taken\n", sum.v_vm_faults);
(void)printf("%9u pages freed\n", sum.v_tfree);
OpenPOWER on IntegriCloud