diff options
author | Leigh Simpson <leigh.simpson@fusepump.com> | 2014-01-29 22:41:55 +0000 |
---|---|---|
committer | Leigh Simpson <leigh.simpson@fusepump.com> | 2014-01-29 22:41:55 +0000 |
commit | da236ca318e515a5a1b2156b8dccdf23166c787f (patch) | |
tree | 5e33a842e8b4e55fde72ba50bc86fd9e070e769b /Process.h | |
parent | 558b001e2bdc3e2637da7c80215ad77f9fb8f18b (diff) |
Added additional column to monitor OOM killer score of each process
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |