From: Peter Schiffer Date: Tue, 2 Apr 2013 08:57:02 +0000 (+0200) Subject: Added CGROUP_LOGLEVEL to man pages + fixed the style of 'FILES' section X-Git-Tag: v0.41~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fac4a0398ca3351096ef19978afaf7b72a8971f6;p=thirdparty%2Flibcgroup.git Added CGROUP_LOGLEVEL to man pages + fixed the style of 'FILES' section where appropriate. Signed-off-by: Peter Schiffer Acked-by: Ivana Hutarova Varekova --- diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1 index 982fc53f..db4e0863 100644 --- a/doc/man/cgclassify.1 +++ b/doc/man/cgclassify.1 @@ -47,12 +47,15 @@ If this option is used, the daemon of service cgred (cgrulesengd process) can automatically change both the specified \fBpidlist\fR and their child tasks to the right cgroup based on \fB/etc/cgrules.conf\fR. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH FILES -.LP -.PD .1v -.TP 20 -.B /etc/cgrules.conf .TP +.B /etc/cgrules.conf default libcgroup configuration file diff --git a/doc/man/cgclear.1 b/doc/man/cgclear.1 index 0a3ed912..318c9254 100644 --- a/doc/man/cgclear.1 +++ b/doc/man/cgclear.1 @@ -37,5 +37,11 @@ specifies that only empty groups should be removed. If a group defined in a config file has tasks inside or has a subgroup, it won't be removed. This option works only with \fB-l\fR or \fB-L\fR options. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO cgconfigparser(1) diff --git a/doc/man/cgconfigparser.8 b/doc/man/cgconfigparser.8 index 53ab6268..0a20f958 100644 --- a/doc/man/cgconfigparser.8 +++ b/doc/man/cgconfigparser.8 @@ -68,5 +68,11 @@ of this group have write access to the file. .LP +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO cgconfig.conf (5) diff --git a/doc/man/cgcreate.1 b/doc/man/cgcreate.1 index 3e8fe227..70680736 100644 --- a/doc/man/cgcreate.1 +++ b/doc/man/cgcreate.1 @@ -63,6 +63,11 @@ file of the defined control group. I.e. this user and members of this group have write access to the file. The default value is the same as has the parent cgroup. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. .SH FILES diff --git a/doc/man/cgdelete.1 b/doc/man/cgdelete.1 index 5fde2eee..025a799e 100644 --- a/doc/man/cgdelete.1 +++ b/doc/man/cgdelete.1 @@ -29,5 +29,11 @@ Display this help and exit. .B -r, --recursive Recursively remove all subgroups. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO cgcreate (1), lscgroup (1), cgclear (1) diff --git a/doc/man/cgexec.1 b/doc/man/cgexec.1 index 3834a02e..cacbd3a0 100644 --- a/doc/man/cgexec.1 +++ b/doc/man/cgexec.1 @@ -81,12 +81,15 @@ runs command \fBls -l\fR in control group test1 in controllers cpu and memory and control group test2 in controller swap. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH FILES -.LP -.PD .1v -.TP 20 -.B /etc/cgrules.conf .TP +.B /etc/cgrules.conf default libcgroup configuration file .SH SEE ALSO diff --git a/doc/man/cgget.1 b/doc/man/cgget.1 index 5164b1a5..744a3296 100644 --- a/doc/man/cgget.1 +++ b/doc/man/cgget.1 @@ -85,6 +85,12 @@ cpu.shares=1024 .fi +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO cgrules.conf (1), cgcreate (1), cgget (1) diff --git a/doc/man/cgrulesengd.8 b/doc/man/cgrulesengd.8 index 69be57f1..9566c233 100644 --- a/doc/man/cgrulesengd.8 +++ b/doc/man/cgrulesengd.8 @@ -56,6 +56,13 @@ write them to the standard output. .B -g |--socket-group= Set the owner of cgrulesengd socket. Assumes that \fBcgexec\fR runs with proper suid permissions so it can write to the socket when \fBcgexec\fR --sticky is used. + +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH FILES .LP .PD .1v diff --git a/doc/man/cgset.1 b/doc/man/cgset.1 index 41abc30c..be886c67 100644 --- a/doc/man/cgset.1 +++ b/doc/man/cgset.1 @@ -30,5 +30,11 @@ This parameter can be used multiple times. defines the name of the cgroup whose parameters will be copied to the input cgroup. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO cgrules.conf (1), cgcreate (1), cgget (1) diff --git a/doc/man/cgsnapshot.1 b/doc/man/cgsnapshot.1 index 228ba7a4..03c85f6a 100644 --- a/doc/man/cgsnapshot.1 +++ b/doc/man/cgsnapshot.1 @@ -77,6 +77,12 @@ not displayed. defines the controller whose hierarchies will be output +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH FILES .TP .B /etc/cgsnapshot_blacklist.conf diff --git a/doc/man/lscgroup.1 b/doc/man/lscgroup.1 index 005f6a73..693fbbcf 100644 --- a/doc/man/lscgroup.1 +++ b/doc/man/lscgroup.1 @@ -20,6 +20,12 @@ defines the control groups whose subgroups will be shown. If this parameter is not used, the command will list all existing cgroups. +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. + .SH SEE ALSO lssubsys (1), cgcreate (1), cgdelete (1), -cgconfig.conf (5) \ No newline at end of file +cgconfig.conf (5) diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1 index 30ced29c..790c6271 100644 --- a/doc/man/lssubsys.1 +++ b/doc/man/lssubsys.1 @@ -85,8 +85,13 @@ freezer /cgroup/freezer net_cls /cgroup/net_cls .fi +.SH ENVIRONMENT VARIABLES +.TP +.B CGROUP_LOGLEVEL +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. .RE .SH SEE ALSO lscgroup (1), cgcreate (1), cgdelete (1), -cgconfig.conf (5) \ No newline at end of file +cgconfig.conf (5)