LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lscgroup

lists cgroups in the system

TLDR

List all cgroups
$ lscgroup
copy
List specific controller
$ lscgroup [cpu]
copy
List specific cgroup
$ lscgroup [cpu:/mygroup]
copy
Show all controllers
$ lscgroup -a
copy
List cgroup hierarchy
$ 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.

SEE ALSO

cgcreate(1), cgexec(1), cgset(1)

Copied to clipboard
Kai