From 85cc276a3fed46c9064652ddf08500b932ee3f94 Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Wed, 25 Feb 2009 13:07:02 +0000 Subject: [PATCH] cgclassify: Update cgclassify man page From: Jan Safranek Update cgclassify man page to reflect new '-g' parameter. Signed-off-by: Jan Safranek Signed-off-by: Dhaval Giani git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@341 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- doc/man/cgclassify.1 | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1 index 665c756d..fd7f2f40 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>:] <\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 : +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 -- 2.47.2