1
2CGCREATE(1)                    libcgroup Manual                    CGCREATE(1)
3
4
5

NAME

7       cgcreate - create new cgroup(s)
8
9

SYNOPSIS

11       cgcreate [-h] [-t <tuid>:<tgid>] [-a <agid>:<auid>] [-f mode] [-d mode]
12       [-s mode] -g <controllers>:<path> [-g ...]
13
14

DESCRIPTION

16       The command creates new cgroup(s) defined by the options -g.
17
18
19       -a <agid>:<auid>
20              defines the name of the user and the group which own the rest of
21              the  defined  control  group’s files. These users are allowed to
22              set subsystem parameters  and  create  subgroups.   The  default
23              value is the same as has the parent cgroup.
24
25
26       -d, --dperm=mode
27              sets the permissions of a control groups directory.  The permis‐
28              sions needs to be specified as octal numbers e.g.  -d 775.
29
30
31       -f, --fperm=mode
32              sets the permissions of the control groups parameters.  The per‐
33              missions  needs  to  be specified as octal numbers e.g.  -f 775.
34              The value is not used as given because the current owner's  per‐
35              missions  are used as an umask (so 777 will set group and others
36              permissions to the owners permissions).
37
38
39       -g <controllers>:<path>
40              defines control groups to be added.  controllers is  a  list  of
41              controllers  and  path is the relative path to control groups in
42              the given controllers list. This option can be specified  multi‐
43              ple times.
44
45
46       -h, --help
47              display this help and exit
48
49
50       -s, --tperm=mode
51              sets  the permissions of the control group tasks file.  The per‐
52              missions needs to be specified as octal numbers  e.g.   -s  775.
53              The  value is not used as given because the current owner's per‐
54              missions are used as an umask (so 777 will set group and  others
55              permissions to the owners permissions).
56
57
58       -t <tuid>:<tgid>
59              defines  the  name  of  the user and the group, which owns tasks
60              file of the defined control group. I.e. this user and members of
61              this  group have write access to the file.  The default value is
62              the same as has the parent cgroup.
63
64

ENVIRONMENT VARIABLES

66       CGROUP_LOGLEVEL
67              controls verbosity of the tool. Allowed values are DEBUG,  INFO,
68              WARNING or ERROR.
69
70

FILES

SEE ALSO

73       cgrules.conf (5) cgexec (1) cgclassify (1)
74
75
76
77Linux                             2009-03-15                       CGCREATE(1)
Impressum