From afd74c4491154c5914aedbcc4e2e4acc82784b9d Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Wed, 3 Jun 2009 09:37:13 +0200 Subject: Adds cgcreate man page This patch adds cgcreate man page - it includes Makefile.in changes Signed-off-by: Ivana Varekova --- doc/man/Makefile.am | 2 +- doc/man/cgcreate.1 | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 doc/man/cgcreate.1 diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index ef27069..c535302 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -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 index 0000000..2d444ef --- /dev/null +++ b/doc/man/cgcreate.1 @@ -0,0 +1,43 @@ +.\" Written by Ivana Hutarova Varekova + +.TH CGCREATE 1 2009-03-15 "Linux" "libcgroup Manual" +.SH NAME +cgcreate \- create new cgroup(s) + +.SH SYNOPSIS +\fBcgcreate\fR [\fB-t\fR <\fItuid>:] [\fB-a\fR <\fIagid>:] +\fB-g\fR <\fIcontrollers>: [-g ...] + +.SH DESCRIPTION +The command creates new cgroup(s) defined by option +\fB-g\fR. + +.TP +.B -t : +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 : +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 : +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 -- cgit