OS Manuals

/usr/bin/cgclassify

libcgroup is a library that abstracts the control group file system in Linux

From libcgroup 3.2.0-r10 (enterprise-packages), captured 2026-11-08 by running cgclassify --help (exit 0). permalink

Usage: /usr/bin/cgclassify [[-g] <controllers>:<path>] [--sticky | --cancel-sticky] <list of pids>
Move running task(s) to given cgroups
  -h, --help			Display this help
  -g <controllers>:<path>	Control group to be used as target
  --cancel-sticky		cgred daemon change pidlist and children tasks
  --sticky			cgred daemon does not change pidlist and children tasks
  -b				Ignore default systemd delegate hierarchy
  -r				Replace the default idle_thread spawned for the systemd scope
Options (6)
OptionDescriptionSource
-h, --helpDisplay this helphelp
-g controllers>:<pathdefines the control groups where the task will be moved.help + man
--cancel-stickyIf this option is used, the daemon of service cgred (cgrulesengd process) can automatically change both the specified pidlist and their child tasks to the right cgroup based on /etc/cgrules.conf.help + man
--stickyIf this option is used, the daemon of service cgred (cgrulesengd process) does not change both the specified pidlist and their children tasks.help + man
-bignores the default systemd delegated hierarchy path and constructs the path of the control groups relative to the cgroup root hierarchy.help + man
-rReplaces systemd scope's idle process with the first process of the list of process (pidlist).help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.