~ubuntu-branches/ubuntu/maverick/libcgroup/maverick-proposed

« back to all changes in this revision

Viewing changes to doc/man/cgclassify.1

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-08-26 11:29:17 UTC
  • Revision ID: james.westby@ubuntu.com-20090826112917-402ews2uj6v350d2
Tags: upstream-0.34
ImportĀ upstreamĀ versionĀ 0.34

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
 
2
.\" Written by Ivana Varekova <varekova@redhat.com>.
 
3
 
 
4
.TH CGCLASSIFY  1 2009-03-15 "Linux" "libcgroup Manual"
 
5
.SH NAME
 
6
cgclassify \- move running task(s) to given cgroups
 
7
 
 
8
.SH SYNOPSIS
 
9
\fBcgclassify\fR [\fB-g\fR <\fIcontrollers>:<path\fR>] [--sticky] <\fIpidlist\fR>
 
10
 
 
11
.SH DESCRIPTION
 
12
this command moves processes defined by the list
 
13
of processes
 
14
(\fBpidlist\fR)
 
15
to given control groups.
 
16
 
 
17
The pids in the pidlist are separated by spaces
 
18
 
 
19
.TP
 
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.
 
25
 
 
26
This flag can be used multiple times to
 
27
define multiple pairs of lists of controllers
 
28
and relative paths.
 
29
Instead of the list of all mounted controllers,
 
30
wildcard \fB*\fR can be used.
 
31
 
 
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.
 
35
 
 
36
.TP
 
37
.B --sticky
 
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.
 
43
 
 
44
.SH FILES
 
45
.LP
 
46
.PD .1v
 
47
.TP 20
 
48
.B /etc/cgrules.conf
 
49
.TP
 
50
default libcgroup configuration file
 
51
 
 
52
 
 
53
.SH SEE ALSO
 
54
cgrules.conf (5), cgexec (1)
 
55