summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorLeigh Simpson <leigh.simpson@fusepump.com>2014-01-29 22:41:55 +0000
committerLeigh Simpson <leigh.simpson@fusepump.com>2014-01-29 22:41:55 +0000
commitda236ca318e515a5a1b2156b8dccdf23166c787f (patch)
tree5e33a842e8b4e55fde72ba50bc86fd9e070e769b /Process.h
parent558b001e2bdc3e2637da7c80215ad77f9fb8f18b (diff)
Added additional column to monitor OOM killer score of each process
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index a24c7c04..d1a39e41 100644
--- a/Process.h
+++ b/Process.h
@@ -60,6 +60,9 @@ typedef enum ProcessField_ {
#ifdef HAVE_CGROUP
CGROUP,
#endif
+ #ifdef HAVE_OOM
+ OOM,
+ #endif
IO_PRIORITY,
LAST_PROCESSFIELD
} ProcessField;
@@ -156,6 +159,9 @@ typedef struct Process_ {
#ifdef HAVE_CGROUP
char* cgroup;
#endif
+ #ifdef HAVE_OOM
+ unsigned int oom;
+ #endif
} Process;

© 2014-2024 Faster IT GmbH | imprint | privacy policy