lscgroup
lists cgroups in the system
TLDR
List all cgroups
$ lscgroup
List specific controller$ lscgroup [cpu]
List specific cgroup$ lscgroup [cpu:/mygroup]
Show all controllers$ lscgroup -a
List cgroup hierarchy$ lscgroup [memory]
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.
