On 08/13/2010 03:01 PM, Ivana Hutarova Varekova wrote:
> Changelog:
> - fixed the typos from Eric Brower comment
>
> This patch adds  -i option description to lssubsys man-page
> (example included too)
>
> Signed-off-by: Ivana Hutarova Varekova<[email protected]>
Acked-By: Jan Safranek <[email protected]>

> ---
>
>   doc/man/lssubsys.1 |   29 ++++++++++++++++++++++++++++-
>   1 files changed, 28 insertions(+), 1 deletions(-)
>
> diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1
> index 8f278d9..69426b5 100644
> --- a/doc/man/lssubsys.1
> +++ b/doc/man/lssubsys.1
> @@ -9,7 +9,7 @@ lssubsys \- list hierarchies containing given subsystem
>   .SH SYNOPSIS
>   \fBlssubsys\fR  [\fB-m|--mount-points\fR] [\fIcontroller\fR] [...]
>   .br
> -\fBlssubsys\fR  [\fB-m|--mount-points\fR] [\fB-a|--all\fR]
> +\fBlssubsys\fR  [\fB-m|--mount-points\fR] [\fB-i|--hierarchies\fR] 
> [\fB-a|--all\fR]
>   .br
>   \fBlssubsys\fR  [\fB-h|--help\fR]
>
> @@ -34,6 +34,13 @@ Display mount points.
>   Display all subsystems (including not mounted ones).
>
>   .TP
> +.B -i, --hierarchies
> +Display attached hierarchy number, if the subsystem is in a hierarchy.
> +If the option
> +.B -m
> +is used too, then the hierarchy number is shown only for not mounted 
> hierarchies.
> +
> +.TP
>   .B -h, --help
>   Display help and exit.
>
> @@ -54,6 +61,26 @@ freezer /cgroup/freezer
>   net_cls /cgroup/net_cls
>   .fi
>   .RE
> +.LP
> +Command
> +.B lssubsys -ami
> +lists all subsystems which are present on the system,
> +mounted subsystems have attached the mount point,
> +not mounted ones which are in some hierarchy have attached the hierarchy 
> number:
> +.RS
> +.nf
> +$ lssubsys -ami
> +ns
> +cpuset 5
> +cpu,devices 6
> +cpuacct /cgroup/cpuacct
> +memory /cgroup/memory
> +freezer /cgroup/freezer
> +net_cls /cgroup/net_cls
> +.fi
> +
> +
> +.RE
>   .SH SEE ALSO
>   lscgroup (1), cgcreate (1), cgdelete (1),
>   cgconfig.conf(5)
> \ No newline at end of file
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Libcg-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libcg-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to