diff options
author | Ivana Hutarova Varekova <varekova@redhat.com> | 2009-12-10 13:25:21 +0100 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-12-16 14:03:20 +0530 |
commit | a380f99da2f7e8b818f456584dd8ee6a8a53f166 (patch) | |
tree | e905ae26ac5b790365e2245cd62472251420c07e /doc | |
parent | 5dfd5d40b68febd5376e6823021e4b376de77efc (diff) | |
download | libcg-a380f99da2f7e8b818f456584dd8ee6a8a53f166.tar.gz libcg-a380f99da2f7e8b818f456584dd8ee6a8a53f166.tar.xz libcg-a380f99da2f7e8b818f456584dd8ee6a8a53f166.zip |
lssubsys: new option -a,--all
This patch adds new option to lssubsys command
lssubsys with this option displays moreover controllers which are
not mounted
The patch change the behavior of lssubsys a bit - there is no
error message if controllers are not mounted and lssubsys is called.
Example:
$ ./lssubsys -a
devices
cpuset,cpuacct
ns
cpu
$ ./lssubsys -am
devices /mnt/cgroups/devices
cpuset,cpuacct /mnt/cgroups/cpuset
ns
cpu
$ ./lssubsys
Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/lssubsys.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1 index 9ea97d6..2b62f1d 100644 --- a/doc/man/lssubsys.1 +++ b/doc/man/lssubsys.1 @@ -7,7 +7,7 @@ lssubsys \- list hierarchies containing given subsystem .SH SYNOPSIS -\fBlssubsys\fR [\fB-m|--mount-points\fR] [\fIcontroller\fR] [...] +\fBlssubsys\fR [\fB-m|--mount-points\fR] [\fB-a|--all\fR] [\fIcontroller\fR] [...] .br \fBlssubsys\fR [\fB-h|--help\fR] @@ -27,6 +27,10 @@ list all subsystems which are present. Display mount points. .TP +.B -a, --all +Display not mounted subsystems. + +.TP .B -h, --help Display help and exit. |