diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-27 23:18:55 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-27 23:18:55 +0000 |
commit | b57ff6540bca63a465dbf4b757bd22c5f1cebf23 (patch) | |
tree | cc02b9608848d1ed722f374c2e4a2b6fab7ceea5 /usr.bin/systat | |
parent | 980a5da58f43d14d1d42d1ec427ce9a055ff7588 (diff) |
Move UVM "swpgonly" from Daemon Counters to Swap Counters
Put it below "swpginuse" as systat(1) and uvm_init(9) already have it.
(uvm.c struct uvmline uvmline[] makes it easy to misplace counters without
double-checking against actual systat output.)
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/uvm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/uvm.c b/usr.bin/systat/uvm.c index 795626d4fbf..957b4dbf336 100644 --- a/usr.bin/systat/uvm.c +++ b/usr.bin/systat/uvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm.c,v 1.5 2019/06/28 13:35:04 deraadt Exp $ */ +/* $OpenBSD: uvm.c,v 1.6 2022/11/27 23:18:54 kn Exp $ */ /* * Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2018 Kenneth R Westerback <krw@openbsd.org> @@ -134,10 +134,10 @@ struct uvmline uvmline[] = { &uvmexp.swpginuse, &last_uvmexp.swpginuse, "swpginuse" }, { &uvmexp.kmapent, &last_uvmexp.kmapent, "kmapent", &uvmexp.pdreact, &last_uvmexp.pdreact, "pdreact", - &uvmexp.nswget, &last_uvmexp.nswget, "nswget" }, + &uvmexp.swpgonly, &last_uvmexp.swpgonly, "swpgonly" }, { NULL, NULL, NULL, &uvmexp.pdbusy, &last_uvmexp.pdbusy, "pdbusy", - NULL, NULL, NULL }, + &uvmexp.nswget, &last_uvmexp.nswget, "nswget" }, { NULL, NULL, "Constants", &uvmexp.pdpageouts, &last_uvmexp.pdpageouts, "pdpageouts", NULL, NULL, NULL }, |