]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
Adds cgcreate man page
authorIvana Varekova <varekova@redhat.com>
Wed, 3 Jun 2009 07:37:13 +0000 (09:37 +0200)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 3 Jun 2009 08:19:35 +0000 (13:49 +0530)
This patch adds cgcreate man page - it includes Makefile.in changes

Signed-off-by: Ivana Varekova <varekova@redhat.com>
doc/man/Makefile.am
doc/man/cgcreate.1 [new file with mode: 0644]

index ef270693fad9dc87b94ecddd23f779101df4c23a..c53530262da6078e217f406f7febea47f74e9f31 100644 (file)
@@ -1,5 +1,5 @@
 man_MANS = cgclassify.1 cgconfig.conf.5 cgconfigparser.8 cgexec.1 cgred.conf.5 \
-           cgrules.conf.5 cgrulesengd.8
+           cgrules.conf.5 cgrulesengd.8 cgcreate.1
 
 EXTRA_DIST = $(man_MANS)
 
diff --git a/doc/man/cgcreate.1 b/doc/man/cgcreate.1
new file mode 100644 (file)
index 0000000..2d444ef
--- /dev/null
@@ -0,0 +1,43 @@
+.\" Written by Ivana Hutarova Varekova <varekova@redhat.com>
+
+.TH CGCREATE  1 2009-03-15 "Linux" "libcgroup Manual"
+.SH NAME
+cgcreate \- create new cgroup(s)
+
+.SH SYNOPSIS
+\fBcgcreate\fR [\fB-t\fR <\fItuid>:<tgid\fR>] [\fB-a\fR <\fIagid>:<auid\fR>] 
+\fB-g\fR <\fIcontrollers>:<path\fR> [-g ...]
+
+.SH DESCRIPTION
+The command creates new cgroup(s) defined by option 
+\fB-g\fR.
+
+.TP
+.B -t <tuid>:<tgid>
+defines the name of the user and the group, which owns tasks
+file of the defined control group. I.e. this user and members
+of this group have write access to the file.
+The default value is the same as has the parent cgroup.
+
+.TP
+.B -a <agid>:<auid>
+defines the name of the user and the group, which owns the
+rest of the defined control group’s files. These users are 
+allowed to set subsystem parameters and create subgroups.
+The default value is the same as has the parent cgroup.
+
+.TP
+.B -g <controllers>:<path>
+defines control groups which will be added.
+\fBcontrollers\fR is a list of controllers and
+\fBpath\fR is the relative path to control groups
+in the given controllers list. This option can be specified
+multiple times.
+
+
+.SH FILES
+
+.SH SEE ALSO
+cgrules.conf (5)
+cgexec (1)
+cgclassify (1)
\ No newline at end of file