diff options
Diffstat (limited to 'doc')
-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 |