summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/proc_vm.def
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvmon/defs/proc_vm.def')
-rw-r--r--src/libvmon/defs/proc_vm.def19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libvmon/defs/proc_vm.def b/src/libvmon/defs/proc_vm.def
new file mode 100644
index 0000000..9028272
--- /dev/null
+++ b/src/libvmon/defs/proc_vm.def
@@ -0,0 +1,19 @@
+#include "_begin.def"
+
+ /* member name, symbolic constant, human label, human description (think UI/help) */
+ /* /proc/$pid/statm */
+vmon_datum_ulonglong( size_pages, PROC_VM_SIZE_PAGES, "Size", "Size in pages")
+vmon_omit_run( ' ', PROC_VM_RESIDENT_PAGES_SP)
+vmon_datum_ulonglong( resident_pages, PROC_VM_RESIDENT_PAGES, "Resident", "Resident set size in pages")
+vmon_omit_run( ' ', PROC_VM_SHARED_PAGES_SP)
+vmon_datum_ulonglong( shared_pages, PROC_VM_SHARED_PAGES, "Shared", "Shared size in pages")
+vmon_omit_run( ' ', PROC_VM_TEXT_PAGES_SP)
+vmon_datum_ulonglong( text_pages, PROC_VM_TEXT_PAGES, "Text", "Text segment size in pages")
+vmon_omit_run( ' ', PROC_VM_LIB_PAGES_SP)
+vmon_omit_ulonglong( lib_pages, PROC_VM_LIB_PAGES, "Library", "Library segment size (skipped, unused in 2.6)")
+vmon_omit_run( ' ', PROC_VM_DATA_PAGES_SP)
+vmon_datum_ulonglong( data_pages, PROC_VM_DATA_PAGES, "Data", "Data segment size in pages")
+vmon_omit_run( ' ', PROC_VM_DIRTY_PAGES_SP)
+vmon_omit_ulonglong( dirty_pages, PROC_VM_DIRTY_PAGES, "Dirty", "Dirtied (skipped, unused in 2.6)")
+
+#include "_end.def"
© All Rights Reserved