aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2007-07-27 20:01:22 +0000
committerAlan Cox <alc@FreeBSD.org>2007-07-27 20:01:22 +0000
commiteaa29f1ce4e26f3a763bffb0f4866246e5894b9f (patch)
tree8e9f41f9c946405cd5f6454b3352de81812bac7d /sys/sys/vmmeter.h
parent31a35b79dd2a2577207c154e0459aff7b174f876 (diff)
downloadsrc-eaa29f1ce4e26f3a763bffb0f4866246e5894b9f.tar.gz
src-eaa29f1ce4e26f3a763bffb0f4866246e5894b9f.zip
Add a counter for the total number of pages cached and support for
reporting the value of this counter in the program "vmstat". Approved by: re (rwatson)
Notes
Notes: svn path=/head/; revision=171633
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 6caba18b94f2..bdd196464357 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -72,6 +72,7 @@ struct vmmeter {
u_int v_pdwakeups; /* (f) times daemon has awaken from sleep */
u_int v_pdpages; /* (q) pages analyzed by daemon */
+ u_int v_tcached; /* (q) total pages cached */
u_int v_dfree; /* (q) pages freed by daemon */
u_int v_pfree; /* (q) pages freed by exiting processes */
u_int v_tfree; /* (p) total pages freed */