lscgroup
lists cgroups in the system
TLDR
List all cgroups
$ lscgroup
List specific controllercopy
$ lscgroup [cpu]
List specific cgroupcopy
$ lscgroup [cpu:/mygroup]
Show all controllerscopy
$ lscgroup -a
List cgroup hierarchycopy
$ lscgroup [memory]
copy
SYNOPSIS
lscgroup [options] [controller]
DESCRIPTION
lscgroup lists cgroups in the system. Cgroups control resource allocation for processes.The tool shows the cgroup hierarchy for controllers like cpu, memory, and blkio.
PARAMETERS
CONTROLLER
Cgroup controller name.-a
Show all controllers.-g GROUP
Show specific group.--help
Display help information.
CAVEATS
Cgroups v1 tool. May differ for cgroups v2. Part of libcgroup-tools.
HISTORY
lscgroup is part of libcgroup tools for managing Linux control groups for resource management.