---
name: "lscgroup"
section: "1"
platform: "linux"
package: "cgroup-tools"
version: "3.1.0-2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lscgroup"
---

# lscgroup(1)

list all cgroups

## NAME

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

## NOTES

- lscgroup is currently supported on cgroups v1 only.

  ## SEE ALSO

lssubsys (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)
