OS Manuals

/usr/bin/cgsnapshot

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 cgsnapshot --help (exit 0). permalink

Usage: /usr/bin/cgsnapshot [-h] [-s] [-b FILE] [-w FILE] [-f FILE] [controller] [...]
Generate the configuration file for given controllers
  -b, --denylist=FILE		Set the denylist configuration file (default /etc/cgsnapshot_denylist.conf)
  -f, --file=FILE		Redirect the output to output_file
  -h, --help			Display this help
  -s, --silent			Ignore all warnings
  -t, --strict			Don't show variables which are not on the allowlist
  -w, --allowlist=FILE		Set the allowlist configuration file (don't used by default)
Options (6)
OptionDescriptionSource
-b, --denylist FILESet the denylist configuration file (default /etc/cgsnapshot_denylist.conf)help + man
-f, --file FILERedirect the output to output_filehelp + man
-h, --helpdisplay this help and exithelp + man
-s, --silentIgnore all warningshelp + man
-t, --strictDo not display the variables which are not on the allowlisthelp + man
-w, --allowlist FILESet the allowlist configuration file (don't used by default)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.