summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-09-05 04:05:53 +0000
committerart <art@openbsd.org>2002-09-05 04:05:53 +0000
commitecf254b85ae0b3e499b80d9d8f4b4857c2587c41 (patch)
tree048c7b84194e4245067bc7a53dd09a9f9f2750ae
parentFix STRIPFLAGS for elf version of strip. Use same flags (diff)
downloadwireguard-openbsd-ecf254b85ae0b3e499b80d9d8f4b4857c2587c41.tar.xz
wireguard-openbsd-ecf254b85ae0b3e499b80d9d8f4b4857c2587c41.zip
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",