summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-05-14 20:39:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-05-14 20:39:26 +0000
commitb1f45288e5713445699ce3b4cd8b254197a424cb (patch)
treecfad35f4fb1491f1d513f7fda7f05e8a0fee6153 /usr.bin
parent41231f125eede45040bf595106eeab6040374068 (diff)
Don't display swapin/swapout uvmexp fields
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/vmstat.c4
-rw-r--r--usr.bin/vmstat/vmstat.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index a7025edab5c..13c13c7b809 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.73 2010/11/19 18:35:16 mikeb Exp $ */
+/* $OpenBSD: vmstat.c,v 1.74 2013/05/14 20:39:25 miod Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -417,8 +417,6 @@ showkre(void)
PUTRATE(uvmexp.pageins, PAGEROW + 2, PAGECOL + 5, 5);
PUTRATE(uvmexp.pdpageouts, PAGEROW + 2, PAGECOL + 10, 5);
- PUTRATE(uvmexp.swapins, PAGEROW + 2, PAGECOL + 15, 5);
- PUTRATE(uvmexp.swapouts, PAGEROW + 2, PAGECOL + 20, 5);
PUTRATE(uvmexp.pgswapin, PAGEROW + 3, PAGECOL + 5, 5);
PUTRATE(uvmexp.pgswapout, PAGEROW + 3, PAGECOL + 10, 5);
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);