summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-05-14 20:39:24 +0000
committermiod <miod@openbsd.org>2013-05-14 20:39:24 +0000
commit924fab55ba275fcee13d23cc1e02e96a69576ff1 (patch)
tree8cf754e82b80101845c89f48a34fe70338a99e8f /usr.bin/vmstat/vmstat.c
parentrestore ABI compatibility; guenther (diff)
downloadwireguard-openbsd-924fab55ba275fcee13d23cc1e02e96a69576ff1.tar.xz
wireguard-openbsd-924fab55ba275fcee13d23cc1e02e96a69576ff1.zip
Don't display swapin/swapout uvmexp fields
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 31a6b299033..cffa59112a8 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.120 2013/03/26 21:13:55 tedu Exp $ */
+/* $OpenBSD: vmstat.c,v 1.121 2013/05/14 20:39:25 miod Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -539,8 +539,6 @@ dosum(void)
(void)printf("%11u software interrupts\n", uvmexp.softs);
(void)printf("%11u syscalls\n", uvmexp.syscalls);
(void)printf("%11u pagein operations\n", uvmexp.pageins);
- (void)printf("%11u swap ins\n", uvmexp.swapins);
- (void)printf("%11u swap outs\n", uvmexp.swapouts);
(void)printf("%11u forks\n", uvmexp.forks);
(void)printf("%11u forks where vmspace is shared\n",
uvmexp.forks_sharevm);