[gnome-system-monitor] Show cgroups information in the process properties dialog. https://bugzilla.gnome.org/show_bug.cgi?i



commit f3879a89f9bcc3e96b009c0033accb461c0672ac
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Dec 31 09:51:57 2012 +0200

    Show cgroups information in the process properties dialog.
    https://bugzilla.gnome.org/show_bug.cgi?id=672515

 src/procproperties.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/procproperties.cpp b/src/procproperties.cpp
index ea64148..8b051f7 100644
--- a/src/procproperties.cpp
+++ b/src/procproperties.cpp
@@ -125,7 +125,6 @@ fill_proc_properties (GtkWidget *tree, ProcInfo *info)
     else
         HZ = cinf.hz;
 #endif
-
     proc_arg proc_props[] = {
         { N_("Process Name"), g_strdup_printf("%s", info->name)},
         { N_("User"), g_strdup_printf("%s (%d)", info->user.c_str(), info->uid)},
@@ -145,6 +144,7 @@ fill_proc_properties (GtkWidget *tree, ProcInfo *info)
         { N_("Security Context"), g_strdup_printf("%s", info->security_context)},
         { N_("Command Line"), g_strdup_printf("%s", info->arguments)},
         { N_("Waiting Channel"), g_strdup_printf("%s", info->wchan)},
+        { N_("Control Group"), info->cgroup_name?g_strdup_printf("%s", info->cgroup_name):g_strdup("")},
         { NULL, NULL}
     };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]