summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-09-05 04:05:54 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-09-05 04:05:54 +0000
commitc6adc85ef5b5612f7f2a05eddc4cefce03e9eac6 (patch)
tree4940eda2d63de3da60c1cc45de1589fc8be921da
parentcc9b1b201973f0e1f685085453c27a71f8e0cd16 (diff)
Print uvmexp.zeropages.
-rw-r--r--usr.bin/vmstat/vmstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index f1256581066..9b4439ff549 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.70 2002/06/19 08:45:52 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.71 2002/09/05 04:05:53 art Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -557,6 +557,7 @@ dosum()
(void)printf("%11u pages inactive\n", uvmexp.inactive);
(void)printf("%11u pages being paged out\n", uvmexp.paging);
(void)printf("%11u pages wired\n", uvmexp.wired);
+ (void)printf("%11u pages zeroed\n", uvmexp.zeropages);
(void)printf("%11u pages reserved for pagedaemon\n",
uvmexp.reserve_pagedaemon);
(void)printf("%11u pages reserved for kernel\n",