]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
cgclassify: Update cgclassify man page
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 25 Feb 2009 13:07:02 +0000 (13:07 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 25 Feb 2009 13:07:02 +0000 (13:07 +0000)
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

doc/man/cgclassify.1

index 665c756d11b94a2d88cf601cfc506c92feac3f8b..fd7f2f40e0d2887b93067214e8679aa72b424b4a 100644 (file)
@@ -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