diff options
author | Ivana Varekova <varekova@redhat.com> | 2009-06-03 09:37:13 +0200 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-06-03 13:49:35 +0530 |
commit | afd74c4491154c5914aedbcc4e2e4acc82784b9d (patch) | |
tree | ca03a5a7a79e0851ca36838759efa0a11899049b | |
parent | eee101722ff1358bf539eeb36deda8ca266f4a7a (diff) | |
download | libcg-afd74c4491154c5914aedbcc4e2e4acc82784b9d.tar.gz libcg-afd74c4491154c5914aedbcc4e2e4acc82784b9d.tar.xz libcg-afd74c4491154c5914aedbcc4e2e4acc82784b9d.zip |
Adds cgcreate man page
This patch adds cgcreate man page - it includes Makefile.in changes
Signed-off-by: Ivana Varekova <varekova@redhat.com>
-rw-r--r-- | doc/man/Makefile.am | 2 | ||||
-rw-r--r-- | doc/man/cgcreate.1 | 43 |
2 files changed, 44 insertions, 1 deletions
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 <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 |