This patch adds -i option description to lssubsys man-page (example included too)
Signed-off-by: Ivana Hutarova Varekova <[email protected]> --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1 index 743918d..9d4707a 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, --hierrachies +Display attached hierarchy number, if the subsystem is in a hierrachy. +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 hieerarchy 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 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
