1
2LSSUBSYS(1)                    libcgroup Manual                    LSSUBSYS(1)
3
4
5

NAME

7       lssubsys - list hierarchies containing given subsystem
8
9

SYNOPSIS

11       lssubsys    [-m|--mount-points]   [-M|--all-mount-points]  [controller]
12       [...]
13       lssubsys   [-m|--mount-points]  [-M|--all-mount-points]   [-i|--hierar‐
14       chies] [-a|--all]
15       lssubsys  [-h|--help]
16
17

DESCRIPTION

19       lssubsys  list the hierarchies containing the given subsystem(s). If no
20       subsystem is defined, it displays all mounted hierarchies.
21
22
23       controller
24              defines the subsystem whose hierarchy is shown.  If this parame‐
25              ter is not used, the command will list all mounted subsystems.
26
27
28       -m, --mount-points
29              Display mount points. Only the first mount points of shown hier‐
30              archies are displayed.
31
32
33       -M, --all-mount-points
34              Display mount points. All mount points of shown hierarchies  are
35              displayed, each on separate line.
36
37
38       -a, --all
39              Display all subsystems (including unmounted ones).
40
41
42       -i, --hierarchies
43              Display  the  attached hierarchy number if the subsystem is in a
44              hierarchy.  If the option -m is also used, the hierarchy  number
45              is shown only for unmounted hierarchies.
46
47
48       -h, --help
49              Display help and exit.
50
51

EXAMPLE

53       The  command lssubsys -am lists all subsystems which are present in the
54       system, mounted ones will be shown with their mount point:
55              $ lssubsys -am
56              ns
57              cpuset
58              cpu,devices
59              cpuacct /cgroup/cpuacct
60              memory /cgroup/memory
61              freezer /cgroup/freezer
62              net_cls /cgroup/net_cls
63
64       The command lssubsys -ami lists all subsystems which are present in the
65       system,  mounted  subsystems  are  listed  with their mount points, un‐
66       mounted ones which are in a hierarchy are listed with  their  hierarchy
67       number:
68              $ lssubsys -ami
69              ns
70              cpuset 5
71              cpu,devices 6
72              cpuacct /cgroup/cpuacct
73              memory /cgroup/memory
74              freezer /cgroup/freezer
75              net_cls /cgroup/net_cls
76
77

NOTES

79       lssubsys is currently supported on cgroups v1 only.
80
81

ENVIRONMENT VARIABLES

83       CGROUP_LOGLEVEL
84              controls  verbosity of the tool. Allowed values are DEBUG, INFO,
85              WARNING or ERROR.
86
87

SEE ALSO

89       lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)
90
91
92
93Linux                             2009-11-05                       LSSUBSYS(1)
Impressum