summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-01-10 05:52:59 +0000
committerdg <dg@FreeBSD.org>1995-01-10 05:52:59 +0000
commit028f7bbfb069a4795ea82e3234c6f917d4c50490 (patch)
tree64bc846bf57f42ff5597c1808c56ec55c6ff8ee1 /usr.bin/vmstat
parentf2fb5b52fa185487ab373deef77b30cec8989dda (diff)
downloadFreeBSD-src-028f7bbfb069a4795ea82e3234c6f917d4c50490.zip
FreeBSD-src-028f7bbfb069a4795ea82e3234c6f917d4c50490.tar.gz
Added 'pages in VM cache' statistic.
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index d128472..4b43ef4 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -565,6 +565,7 @@ dosum()
(void)printf("%9u pages freed by exiting processes\n", sum.v_pfree);
(void)printf("%9u pages active\n", sum.v_active_count);
(void)printf("%9u pages inactive\n", sum.v_inactive_count);
+ (void)printf("%9u pages in VM cache\n", sum.v_cache_count);
(void)printf("%9u pages wired down\n", sum.v_wire_count);
(void)printf("%9u pages free\n", sum.v_free_count);
(void)printf("%9u bytes per page\n", sum.v_page_size);
OpenPOWER on IntegriCloud