diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-02-25 13:07:02 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-02-25 13:07:02 +0000 |
commit | 85cc276a3fed46c9064652ddf08500b932ee3f94 (patch) | |
tree | 8cb56969c834204b4a978c4f1f391dead105aa0c /doc/man | |
parent | 55c6712f697d5d92d6363fbeb19ca4c399b7f621 (diff) | |
download | libcg-85cc276a3fed46c9064652ddf08500b932ee3f94.tar.gz libcg-85cc276a3fed46c9064652ddf08500b932ee3f94.tar.xz libcg-85cc276a3fed46c9064652ddf08500b932ee3f94.zip |
cgclassify: Update cgclassify man page
From: Jan Safranek <jsafrane@redhat.com>
Update cgclassify man page to reflect new '-g' parameter.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@341 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/cgclassify.1 | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1 index 665c756..fd7f2f4 100644 --- a/doc/man/cgclassify.1 +++ b/doc/man/cgclassify.1 @@ -6,17 +6,33 @@ cgclassify \- move running task(s) to given cgroups .SH SYNOPSIS -\fBcgclassify\fR <\fIpidlist\fR> +\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 control groups which they -belong according to \fB/etc/cgrules.conf\fR -configuration file. +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 |