On 05/12/2011 08:59 AM, Jan Safranek wrote: > Added CGROUP_LOGLEVEL to man pages + fixed the style of 'FILES' section > where appropriate. > > Signed-off-by: Jan Safranek<jsafr...@redhat.com> Acked-By: Ivana Hutarova Varekova <varek...@redhat.com>
> --- > > doc/man/cgclassify.1 | 11 +++++++---- > doc/man/cgclear.1 | 6 ++++++ > doc/man/cgconfigparser.8 | 10 ++++++---- > doc/man/cgcreate.1 | 6 ++++++ > doc/man/cgdelete.1 | 6 ++++++ > doc/man/cgexec.1 | 11 +++++++---- > doc/man/cgget.1 | 6 ++++++ > doc/man/cgset.1 | 6 ++++++ > doc/man/cgsnapshot.1 | 6 ++++++ > doc/man/lscgroup.1 | 6 ++++++ > doc/man/lssubsys.1 | 7 +++++++ > 11 files changed, 69 insertions(+), 12 deletions(-) > > diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1 > index 2d8921b..b5114f9 100644 > --- a/doc/man/cgclassify.1 > +++ b/doc/man/cgclassify.1 > @@ -48,12 +48,15 @@ process) can change both the specified \fBpidlist\fR and > their > children tasks to right cgroup based on \fB/etc/cgrules.conf\fR > automatically. > > +.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 9551cfa..4940036 100644 > --- a/doc/man/cgclear.1 > +++ b/doc/man/cgclear.1 > @@ -14,6 +14,12 @@ This command moves all the tasks inside various cgroups > to the root cgroup, deletes all the cgroups and finally > unmounts the cgroup filesystem from the system. > > +.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 b0642d8..3faf090 100644 > --- a/doc/man/cgconfigparser.8 > +++ b/doc/man/cgconfigparser.8 > @@ -23,9 +23,11 @@ The format of the file is described in > \fBcgconfig.conf\fR. > .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 4bcb132..94ad7c1 100644 > --- a/doc/man/cgcreate.1 > +++ b/doc/man/cgcreate.1 > @@ -53,6 +53,12 @@ multiple times. > .B -h, --help > display this help and exit > > +.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 > > .SH SEE ALSO > diff --git a/doc/man/cgdelete.1 b/doc/man/cgdelete.1 > index f1e17a7..69bb41d 100644 > --- a/doc/man/cgdelete.1 > +++ b/doc/man/cgdelete.1 > @@ -26,5 +26,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 e9d38d2..3512be0 100644 > --- a/doc/man/cgexec.1 > +++ b/doc/man/cgexec.1 > @@ -73,12 +73,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 e42a9af..255b0c7 100644 > --- a/doc/man/cgget.1 > +++ b/doc/man/cgget.1 > @@ -76,6 +76,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 > cgsules.conf (1), cgcreate (1), cgget (1) > > diff --git a/doc/man/cgset.1 b/doc/man/cgset.1 > index bd41c3a..69ae1b3 100644 > --- a/doc/man/cgset.1 > +++ b/doc/man/cgset.1 > @@ -30,5 +30,11 @@ This parameter can be used multiple times. > defines name of cgroup whose parameters will be > copied to 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 b8853f6..3e0cd42 100644 > --- a/doc/man/cgsnapshot.1 > +++ b/doc/man/cgsnapshot.1 > @@ -78,6 +78,12 @@ not displayed. > defines 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 0950af3..1e1f80d 100644 > --- a/doc/man/lscgroup.1 > +++ b/doc/man/lscgroup.1 > @@ -20,6 +20,12 @@ defines control groups which subgroups will be shown. > If this parameter is not used then the command > list all cgroups which are present. > > +.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 > diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1 > index 81a5f99..4ee1810 100644 > --- a/doc/man/lssubsys.1 > +++ b/doc/man/lssubsys.1 > @@ -88,6 +88,13 @@ net_cls /cgroup/net_cls > > > .RE > + > +.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 > lscgroup (1), cgcreate (1), cgdelete (1), > cgconfig.conf (5) > \ No newline at end of file > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel