1
.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
2
.\" Written by Ivana Varekova <varekova@redhat.com>.
4
.TH CGCLASSIFY 1 2009-03-15 "Linux" "libcgroup Manual"
6
cgclassify \- move running task(s) to given cgroups
9
\fBcgclassify\fR [\fB-g\fR <\fIcontrollers>:<path\fR>] [--sticky] <\fIpidlist\fR>
12
this command moves processes defined by the list
15
to given control groups.
17
The pids in the pidlist are separated by spaces
20
.B -g <controllers>:<path>
21
defines control groups where the task will be moved.
22
\fBcontrollers\fR is a list of controllers and
23
\fBpath\fR is the relative path to control groups
24
in the given controllers list.
26
This flag can be used multiple times to
27
define multiple pairs of lists of controllers
29
Instead of the list of all mounted controllers,
30
wildcard \fB*\fR can be used.
32
If this option is not used then
33
\fBcgclassify\fR will automatically place the task to the
34
control group based on \fB/etc/cgrules.conf\fR.
38
If this option is used, the daemon of service cgred (cgrulesengd
39
process) does not change both the specified \fBpidlist\fR and thier
40
children tasks. Without this option, the daemon does not change the
41
specified \fBpidlist\fR but it changes thier children tasks to the
42
right cgroup based on \fB/etc/cgrules.conf\fR automatically.
50
default libcgroup configuration file
54
cgrules.conf (5), cgexec (1)