lscgroup (1) Linux Manual Page
lscgroup – list all cgroups
Synopsis
lscgroup [[-g] <controllers>:<path>] […]lscgroup [-h|–help]
Description
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.
Environment Variables
- CGROUP_LOGLEVEL
- controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.
Examples
- 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
- lscgroup
- list all cgroups which in all hierarchies
