From da236ca318e515a5a1b2156b8dccdf23166c787f Mon Sep 17 00:00:00 2001 From: Leigh Simpson Date: Wed, 29 Jan 2014 22:41:55 +0000 Subject: Added additional column to monitor OOM killer score of each process --- Process.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Process.h') 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; -- cgit v1.2.3