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] <pidlist>
12
13

DESCRIPTION

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

FILES

43       /etc/cgrules.conf
44       default libcgroup configuration file
45
46

SEE ALSO

48       cgrules.conf (5), cgexec (1)
49
50
51
52
53Linux                             2009-03-15                     CGCLASSIFY(1)
Impressum