summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKen'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>2009-06-26 14:51:33 +0900
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-06-29 16:51:11 +0530
commit3f066c5cec75b9a75a533e6403b25a988ed66986 (patch)
tree0a5ee430e5d3bd042388978266bfb15cbe98ec4f /doc
parent581ce3c1ebbfdf0026de7bee75bd928be2a39982 (diff)
downloadlibcg-3f066c5cec75b9a75a533e6403b25a988ed66986.tar.gz
libcg-3f066c5cec75b9a75a533e6403b25a988ed66986.tar.xz
libcg-3f066c5cec75b9a75a533e6403b25a988ed66986.zip
Apply a new rule to 'cgclassify' command.
Hi, Changelog of v6: ================ * Change the cgroup_get_procname_from_procfs() calling for the returning value's change. Changelog of v5: ================ * Add the description of a new option "--sticky". Changelog of v4: ================ * Add a new option "--sticky" so that cgrulesengd daemon does not change the children's cgroups which is classified by 'cgclassify' command. Changelog of v3: ================ * New patch. Description: ============ This patch applies a new rule to 'cgclassify' command. Thanks Ken'ichi Ohmichi Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/cgclassify.110
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1
index 8b9949d..dda42ff 100644
--- a/doc/man/cgclassify.1
+++ b/doc/man/cgclassify.1
@@ -6,7 +6,7 @@
cgclassify \- move running task(s) to given cgroups
.SH SYNOPSIS
-\fBcgclassify\fR [\fB-g\fR <\fIcontrollers>:<path\fR>] <\fIpidlist\fR>
+\fBcgclassify\fR [\fB-g\fR <\fIcontrollers>:<path\fR>] [--sticky] <\fIpidlist\fR>
.SH DESCRIPTION
this command moves processes defined by the list
@@ -33,6 +33,14 @@ 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.
+.TP
+.B --sticky
+If this option is used, the daemon of service cgred (cgrulesengd
+process) does not change both the specified \fBpidlist\fR and thier
+children tasks. Without this option, the daemon does not change the
+specified \fBpidlist\fR but it changes thier children tasks to the
+right cgroup based on \fB/etc/cgrules.conf\fR automatically.
+
.SH FILES
.LP
.PD .1v