On Mon, Jan 18, 2010 at 11:49:37AM +0100, Jan Safranek wrote:
> Add cgget man page.
> 
> Signed-off-by: Jan Safranek <[email protected]>
> ---
> 
>  doc/man/Makefile.am |    2 +-
>  doc/man/cgget.1     |   59 
> +++++++++++++++++++++++++++++++++++++++++++++++++++
>  doc/man/cgset.1     |    2 +-
>  3 files changed, 61 insertions(+), 2 deletions(-)
>  create mode 100644 doc/man/cgget.1
> 
> diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
> index 4966571..c744917 100644
> --- a/doc/man/Makefile.am
> +++ b/doc/man/Makefile.am
> @@ -1,5 +1,5 @@
>  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
> +           cgrules.conf.5 cgrulesengd.8 cgcreate.1 cgset.1 cgclear.1 cgget.1
> 
>  EXTRA_DIST = $(man_MANS)
> 
> diff --git a/doc/man/cgget.1 b/doc/man/cgget.1
> new file mode 100644
> index 0000000..485d562
> --- /dev/null
> +++ b/doc/man/cgget.1
> @@ -0,0 +1,59 @@
> +.\" Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
> +.\" Written by Jan Safranek <[email protected]>
> +
> +.TH CGGET  1 2010-01-18 "Linux" "libcgroup Manual"
> +.SH NAME
> +
> +cgget \- print parameter(s) of given group(s)
> +
> +.SH SYNOPSIS
> +\fBcgget\fR [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>] 
> <\fBcgroup_path\fR> ...
> +
> +.SH DESCRIPTION
> +The command prints the parameter(s) of input cgroup(s).
> +
> +.TP
> +.B <path>
> +is the name of the cgroup which should be read.
> +This parameter can be used multiple times.
> +
> +.TP
> +.B -r <name>
> +defines parameter to display.
> +This option can be used multiple times.
> +
> +.TP
> +.B -n
> +do not print headers, i.e. name of groups.
> +
> +.TP
> +.B -v
> +print only values, not parameter names.
> +
> +.SH EXAMPLES
> +.nf
> +$ cgget -r cpuset.cpus -r cpuset.mems first second
> +first:
> +cpuset.cpus=0-1
> +cpuset.mems=0
> +
> +second:
> +cpuset.cpus=0
> +cpuset.mems=0
> +
> +$ cgget -n -r cpuset.cpus -r cpuset.mems first second
> +cpuset.cpus=0-1
> +cpuset.mems=0
> +cpuset.cpus=0
> +cpuset.mems=0
> +
> +$ cgget -nv -r cpuset.cpus -r cpuset.mems first second
> +0-1
> +0
> +0
> +0
> +.fi
> +
> +.SH SEE ALSO
> +cgsules.conf (1), cgcreate (1), cgget (1)
This seems to be a typo. I think it should be cgrules.conf
Balbir, you might want to apply a quick fix as it is already merged.

> +
> diff --git a/doc/man/cgset.1 b/doc/man/cgset.1
> index 5f6e062..94e6225 100644
> --- a/doc/man/cgset.1
> +++ b/doc/man/cgset.1
> @@ -30,4 +30,4 @@ defines name of cgroup whose parameters will be
>  coppied to input cgroup.
> 
>  .SH SEE ALSO
> -cgsules.conf (1), cgcreate (1)
> \ No newline at end of file
> +cgrules.conf (1), cgcreate (1), cgget (1)
> 
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Libcg-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libcg-devel

-- 
Regards
Sudhir Kumar
Linux Technology Center
IBM, India.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to