1
2CGCLASSIFY(1)                  libcgroup Manual                  CGCLASSIFY(1)
3
4
5

NAME

7       cgclassify - move running task(s) to given cgroups
8
9

SYNOPSIS

11       cgclassify   [-g  <controllers>:<path>]  [--sticky  |  --cancel-sticky]
12       <pidlist>
13
14

DESCRIPTION

16       this command moves processes defined by the list of processes (pidlist)
17       to the given control groups.
18
19       The pids in the pidlist are separated by spaces
20
21
22       -g <controllers>:<path>
23              defines  the  control groups where the task will be moved.  con‐
24              trollers is a list of controllers and path is the relative  path
25              to control groups in the given controllers list.
26
27              This flag can be used multiple times to define multiple pairs of
28              lists of controllers and relative paths.  Instead of the list of
29              all mounted controllers, the wildcard * can be used.
30
31              If  this  option  is not used then cgclassify will automatically
32              move the task to a control group based on /etc/cgrules.conf.
33
34
35       --sticky
36              If this option is used, the daemon of service cgred (cgrulesengd
37              process)  does  not  change both the specified pidlist and their
38              children tasks.  Without this option, the daemon does not change
39              the  specified  pidlist but it automatically changes their child
40              tasks to the right cgroup based on /etc/cgrules.conf.
41
42
43       --cancel-sticky
44              If this option is used, the daemon of service cgred (cgrulesengd
45              process) can automatically change both the specified pidlist and
46              their   child   tasks   to   the   right   cgroup    based    on
47              /etc/cgrules.conf.
48
49

ENVIRONMENT VARIABLES

51       CGROUP_LOGLEVEL
52              controls  verbosity of the tool. Allowed values are DEBUG, INFO,
53              WARNING or ERROR.
54
55

FILES

57       /etc/cgrules.conf
58              default libcgroup configuration file
59
60
61

SEE ALSO

63       cgrules.conf (5), cgexec (1)
64
65
66
67
68Linux                             2009-03-15                     CGCLASSIFY(1)
Impressum