summaryrefslogtreecommitdiffstats
path: root/doc/man/cgclassify.1
blob: c85cf9c0020125118beef325e9ad07d8d4fc39d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.\" Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
.\" Written by Ivana Varekova <varekova@redhat.com>.

.TH CGCLASSIFY  1 2009-03-15 "Linux" "libcgroup Manual"
.SH NAME
cgclassify \- move running task(s) to given cgroups

.SH SYNOPSIS
\fBcgclassify\fR [\fB-g\fR <\fIcontrollers>:<path\fR>] <\fIpidlist\fR>

.SH DESCRIPTION
this command moves processes defined by the list
of processes
(\fBpidlist\fR)
to given control groups.

The pids in the pidlist are separated by spaces

.TP
.B -g <controllers>:<path>
defines control groups where the task will be moved.
\fBcontrollers\fR is a list of controllers and
\fBpath\fR 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 \fB*\fR can be used.

If this option is not used then
\fBcgclassify\fR will automatically place the task to the
control group based on \fB/etc/cgrules.conf\fR.

.SH FILES
.LP
.PD .1v
.TP 20
.B /etc/cgrules.conf
.TP
default libcgroup configuration file


.SH SEE ALSO
cgrules.conf (5), cgexec (1)