On 09/08/2010 12:46 PM, Ivana Hutarova Varekova wrote: > This patch adds cgsnapshot man page > > > Signed-off-by: Ivana Hutarova Varekova<[email protected]> > --- > > doc/man/Makefile.am | 2 +- > doc/man/cgsnapshot.1 | 66 > ++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 67 insertions(+), 1 deletions(-) > create mode 100644 doc/man/cgsnapshot.1 > > diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am > index 42323fd..26338d8 100644 > --- a/doc/man/Makefile.am > +++ b/doc/man/Makefile.am > @@ -1,6 +1,6 @@ > man_MANS = cgclassify.1 cgconfig.conf.5 cgconfigparser.8 cgexec.1 > cgred.conf.5 \ > cgrules.conf.5 cgrulesengd.8 cgcreate.1 cgset.1 cgclear.1 > cgget.1 \ > - cgdelete.1 lssubsys.1 lscgroup.1 > + cgdelete.1 lssubsys.1 lscgroup.1 cgsnapshot.1 > > EXTRA_DIST = $(man_MANS) > > diff --git a/doc/man/cgsnapshot.1 b/doc/man/cgsnapshot.1 > new file mode 100644 > index 0000000..7290e83 > --- /dev/null > +++ b/doc/man/cgsnapshot.1 > @@ -0,0 +1,66 @@ > +.\" Copyright (C) 2010 Red Hat, Inc. All Rights Reserved. > +.\" Written by Ivana Varekova<[email protected]> > + > +.TH CGSNAPSHOT 1 2010-07-28 "Linux" "libcgroup Manual" > +.SH NAME > + > +cgsnapshot \- generate the configuration file for given controllers > + > +.SH SYNOPSIS > +\fBcgsnapshot\fR [\fB-h\fR] [\fB-s\fR] [\fB-w\fR] [\fB--whitelist-file\fR > \fIfile\fR] [\fB-f\fR \fIoutput_file\fR] [\fBcontroller\fR] [...] > + > +.SH DESCRIPTION > + > +\fBcgsnapshot\fR > +generates the configuration file for given controllers. > +If no controller is set, then output contains > +controllers from are in mounted hierarchies.
'then the output contains all mounted hierarchies' or 'cgsnapshot shows all mounted hierarchies'. > +The output is the same format as 'the output is in the same format as' > +.B cgconfig.conf > +configuration file. > + > +.TP > +.B -h, --help > +display this help and exit > + > +.TP > +.B -s, --silent > +Ignore all warnings > + > +.TP > +.B -w, --whitelist > +Display only variables from whitelist. > +The default location of the whitelist is > +.B/etc/cgsnapshot_whitelist.conf > +is the location wrong wording + my groff does not show the /etc/cgsnapshot_whitelist.conf part > + > +.TP > +.B --whitelist-file file > +Set the whitelist configuration file > + > +.TP > +.B -f, --file > +Redirect the output to output_file > + > + > +.TP > +.B controller > +defines controller whose hierarchies will be > +output > + > +.SH FILES > +.LP > +.PD .1v > +.TP 20 > +.B /etc/cgsnapshot_whitelist.conf > +.TP > +default location of the whitelist. > +.LP > +.PD .1v > +.TP 20 > +.B /etc/cgconfig.conf > +.TP > +default libcgroup configuration file. > + > +.SH SEE ALSO > +cgconfig.conf (5) > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
