summaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2009-08-09 14:38:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2009-08-09 14:38:37 +0000
commite399021fce44ad428e25c57f36b17b45dc4da56e (patch)
treeec98a1c2dccc24b80b1ff6927a1439b503c83298 /usr.bin/systat
parentbc7a79bddcf848a0f286a161bfb78fda59513c38 (diff)
Show the busy and mapped pages in iostat.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/iostat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index 32e24874674..e5658df36ad 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iostat.c,v 1.36 2009/06/06 17:52:39 jasper Exp $ */
+/* $OpenBSD: iostat.c,v 1.37 2009/08/09 14:38:36 art Exp $ */
/* $NetBSD: iostat.c,v 1.5 1996/05/10 23:16:35 thorpej Exp $ */
/*
@@ -263,4 +263,8 @@ showbcache(void)
print_fld_str(FLD_IO_SSTR, "cachehits");
print_fld_ssize(FLD_IO_SVAL, bccur.cachehits - bclast.cachehits);
end_line();
+
+ print_fld_str(FLD_IO_SSTR, "busymapped");
+ print_fld_ssize(FLD_IO_SVAL, bccur.busymapped);
+ end_line();
}