]>
git.ipfire.org Git - thirdparty/libcgroup.git/commit
Adds option to lssubsys tool for unmount controllers in hierrachy
This patch adds option new option "-i" to lssubsys tool. This option displays for mount controllers
the number of hierarchie in which they are:
SEMANTIC:
lssubsys [-m|--mount-points] [-i|--hierarchies] [-a|--all]
-i, --hierrachies
Display attached hierarchy number, if the subsystem is in a hierrachy.
If the option -m is used too, then the hierarchy number is shown only for not mounted hierarchies.
EXAMPLE:
$ lssubsys -ami
ns
cpuset 5
cpu,devices 6
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
$ lssubsys -ai
ns
cpuset 5
cpu,devices 6
cpuacct 7
memory 8
freezer 9
net_cls 4
Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Signed-off-by: Jan Safranek <jsafrane@redhat.com>