From a2167e206bf6062e1a2388d54ca14df0389b872f Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Mon, 8 Feb 2010 13:32:26 +0100 Subject: This patch adds to cgget option -a: v2: removed bunch of unnecessary error messages This patch adds to cgget option -a: -a print the variables for all controllers which consists given cgroup EXAMPLE: $ ./cgget -a /daemons /daemons: cpuset.memory_spread_slab=0 cpuset.memory_spread_page=0 cpuset.memory_pressure=0 cpuset.memory_migrate=0 cpuset.sched_relax_domain_level=-1 cpuset.sched_load_balance=1 cpuset.mem_hardwall=0 cpuset.mem_exclusive=0 cpuset.cpu_exclusive=0 cpuset.mems= cpuset.cpus= cpuacct.stat=user 0 system 0 cpuacct.usage_percpu=0 0 cpuacct.usage=0 Signed-off-by: Ivana Hutarova Varekova Signed-off-by: Balbir Singh --- doc/man/cgget.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/man/cgget.1') diff --git a/doc/man/cgget.1 b/doc/man/cgget.1 index 67f6bef..f02fbba 100644 --- a/doc/man/cgget.1 +++ b/doc/man/cgget.1 @@ -8,7 +8,7 @@ cgget \- print parameter(s) of given group(s) .SH SYNOPSIS \fBcgget\fR [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>] -[\fB-g\fR <\fIcontroller\fR>] <\fBcgroup_path\fR> ... +[\fB-g\fR <\fIcontroller\fR>] [-a] <\fBcgroup_path\fR> ... .SH DESCRIPTION The command prints the parameter(s) of input cgroup(s). @@ -28,6 +28,10 @@ This option can be used multiple times. defines controller which values should be displaied. This option can be used multiple times. +.TP +.B -a +print the variables for all controllers which consists given cgroup + .TP .B -n do not print headers, i.e. name of groups. -- cgit