CGCLASSIFY
Section: libcgroup Manual (1)Updated: 2009-03-15
Index Return to Main Contents
NAME
cgclassify - move running task(s) to given cgroupsSYNOPSIS
cgclassify [-g <controllers>:<path>] [--sticky | --cancel-sticky] <pidlist>DESCRIPTION
this command moves processes defined by the list of processes (pidlist) to given control groups.The pids in the pidlist are separated by spaces
- -g <controllers>:<path>
-
defines control groups where the task will be moved.
controllers is a list of controllers and
path is the relative path to control groups
in the given controllers list.
This flag can be used multiple times to define multiple pairs of lists of controllers and relative paths. Instead of the list of all mounted controllers, wildcard * can be used.
If this option is not used then cgclassify will automatically place the task to the control group based on /etc/cgrules.conf.
- --sticky
-
If this option is used, the daemon of service cgred (cgrulesengd
process) does not change both the specified pidlist and their
children tasks. Without this option, the daemon does not change the
specified pidlist but it changes their children tasks to the
right cgroup based on /etc/cgrules.conf automatically.
- --cancel-sticky
-
If this option is used, the daemon of service cgred (cgrulesengd
process) can change both the specified pidlist and their
children tasks to right cgroup based on /etc/cgrules.conf
automatically.
FILES
- /etc/cgrules.conf
- default libcgroup configuration file
-
SEE ALSO
cgrules.conf (5), cgexec (1)
Index
This document was created by man2html, using the manual pages.
Time: 05:29:02 GMT, December 24, 2015