lscgroup(1)

lscgroup1

List all cgroups

Usage

lscgroup [[-g] <controllers>:<path>] []

lscgroup [{-h | --help}]

Overview

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

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

Notes

lscgroup is currently supported on cgroups v1 only.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8–11
  4. 12
  5. 13

From cgroup-tools 3.1.0-2+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.