LSSUBSYS(1) | libcgroup Manual | LSSUBSYS(1) |
lssubsys - list hierarchies containing given subsystem
lssubsys [-m|--mount-points]
[-M|--all-mount-points] [controller] [...]
lssubsys [-m|--mount-points] [-M|--all-mount-points]
[-i|--hierarchies] [-a|--all]
lssubsys [-h|--help]
lssubsys list the hierarchies containing the given subsystem(s). If no subsystem is defined, it displays all mounted hierarchies.
The command lssubsys -am lists all subsystems which are present in the system, mounted ones will be shown with their mount point:
$ lssubsys -am ns cpuset cpu,devices cpuacct /cgroup/cpuacct memory /cgroup/memory freezer /cgroup/freezer net_cls /cgroup/net_cls
The command lssubsys -ami lists all subsystems which are present in the system, mounted subsystems are listed with their mount points, unmounted ones which are in a hierarchy are listed with their hierarchy number:
$ lssubsys -ami ns cpuset 5 cpu,devices 6 cpuacct /cgroup/cpuacct memory /cgroup/memory freezer /cgroup/freezer net_cls /cgroup/net_cls
lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)
2009-11-05 | Linux |