DOKK / manpages / debian 12 / cgroup-tools / lscgroup.1.en
LSCGROUP(1) libcgroup Manual LSCGROUP(1)

lscgroup - list all cgroups

lscgroup [[-g] <controllers>:<path>] [...]
lscgroup [-h|--help]

List all/chosen cgroups.

<controllers>:<path>
defines the control groups whose subgroups will be shown. If this parameter is not used, the command will list all existing cgroups.

controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.

lscgroup -g cpu:/
list all cgroups which are in hierarchy containing cpu controller

lscgroup -g cpu:/student
list all cgroups which are in hierarchy containing cpu controller in subgroup student

list all cgroups which in all hierarchies

lssubsys (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)

2009-11-05 Linux