summaryrefslogtreecommitdiff
path: root/src/proctable.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 22:24:30 +0100
committerinfirit <[email protected]>2014-12-18 22:29:00 +0100
commit21eeae3b6a844222365b873a8826001af33f1e97 (patch)
treee990971ea17c71652b63f4de14c217a33997eb3b /src/proctable.h
parentba876f3e3791741d977dd72e16b760c39a71e047 (diff)
downloadmate-system-monitor-21eeae3b6a844222365b873a8826001af33f1e97.tar.bz2
mate-system-monitor-21eeae3b6a844222365b873a8826001af33f1e97.tar.xz
systemd: add process view columns for unit, session, seat, owner
This (optionally) hooks up the system monitor with systemd, adding four new columns to the process view: 1. Unit (i.e. the service name a system process belongs to) 2. Session (i.e. the login session a user process belongs to) 3. Seat (i.e. the physical seat the session of the process belongs to, only for multi-seat environments) 4. Owner (i.e. the user a process belongs to, which is not influenced by temporary UID changes like sudo/su/suid. This patch also enables that the Unit column is shown by default. If systemd is not around at runtime or at compile time none of the four new columns are shown. Taken from GSM commit: df292c0fb07d73448fe26048118b127719750729 From: Lennart Poettering <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=667829
Diffstat (limited to 'src/proctable.h')
-rw-r--r--src/proctable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proctable.h b/src/proctable.h
index 5a24803..71df77e 100644
--- a/src/proctable.h
+++ b/src/proctable.h
@@ -44,6 +44,10 @@ enum
COL_MEM,
COL_WCHAN,
COL_CGROUP,
+ COL_UNIT,
+ COL_SESSION,
+ COL_SEAT,
+ COL_OWNER,
COL_PRIORITY,
COL_PIXBUF,
COL_POINTER,