[gnome-system-monitor] Show cgroups information in the process properties dialog. https://bugzilla.gnome.org/show_bug.cgi?i
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Show cgroups information in the process properties dialog. https://bugzilla.gnome.org/show_bug.cgi?i
- Date: Mon, 31 Dec 2012 07:53:32 +0000 (UTC)
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]