summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-03 09:06:59 +0000
committerjkh <jkh@FreeBSD.org>1996-03-03 09:06:59 +0000
commit7e37c839a0f3ca8104852112763e5228f9457660 (patch)
tree256c24b7c1d85cd279eefc1b9f9b7f05c1a0177d /usr.bin/vmstat
parentb52f0e7ec2d9425587a232455491ba10fc7168a4 (diff)
downloadFreeBSD-src-7e37c839a0f3ca8104852112763e5228f9457660.zip
FreeBSD-src-7e37c839a0f3ca8104852112763e5228f9457660.tar.gz
Print number of second-level cache hits as per-directory, not per-process
(since they're per-directory now). Learned from: Kirk McKusick's OS internals course.. :-)
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index beaef22..4ec7152 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -575,7 +575,7 @@ dosum()
nchstats.ncs_miss + nchstats.ncs_long;
(void)printf("%9ld total name lookups\n", nchtotal);
(void)printf(
- "%9s cache hits (%d%% pos + %d%% neg) system %d%% per-process\n",
+ "%9s cache hits (%d%% pos + %d%% neg) system %d%% per-directory\n",
"", PCT(nchstats.ncs_goodhits, nchtotal),
PCT(nchstats.ncs_neghits, nchtotal),
PCT(nchstats.ncs_pass2, nchtotal));
OpenPOWER on IntegriCloud