carta
cgdelete(1)

cgdelete1

Remove control group(s)

Usage

cgdelete [-h] [-r] [-b] [[-g] <controllers>:<path>] ...

Overview

The cgdelete program removes all specified control groups.

-b

ignores the default systemd delegated hierarchy path and constructs the path of the control groups relative to the cgroup root hierarchy.

[-g] <controllers>:<path>

Defines the control group to delete. Multiple control groups may be specified. -g is optional.

-h, --help

Display this help and exit.

-r, --recursive

Recursively remove all subgroups.

Environment

CGROUP_LOGLEVEL

controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.

Examples

cgdelete -g cpu,devices:/test

remove control group test from hierarchies containing cpu and device controllers

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye) to Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

--help since Debian 7 (Wheezy); --recursive since Debian 7 (Wheezy); -b since Debian 13 (Trixie); -h since Debian 7 (Wheezy).

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