1
2CGCONFIGPARSER(8) libcgroup Manual CGCONFIGPARSER(8)
3
4
5
7 cgconfigparser - setup control group file system
8
9
11 cgconfigparser [-h] [-l <filename>] [-L <directory>] [...]
12
13
15 -h, --help
16 Displays help.
17
18 -l, --load=FILE
19 Parses the control groups configuration file Sets up the control
20 group file system defined by the configuration file and mounts
21 mount points defined by the configuration file. The format of
22 the file is described in cgconfig.conf. This option can be used
23 multiple times and can be mixed with -L option.
24
25
26 -L, --load-directory=DIR
27 Finds all files in given directory and parses them in alphabeti‐
28 cal order like they were specified by -l option. This option can
29 be used multiple times and can be mixed with -l option.
30
31
32 -a <agid>:<auid>
33 defines the default owner of the rest of the defined control
34 group’s files. These users are allowed to set subsystem parame‐
35 ters and create subgroups. The default value is the same as has
36 the parent cgroup.
37
38
39 -d, --dperm=mode
40 sets the default permissions of a control groups directory. The
41 permissions needs to be specified as octal numbers e.g. -d 775.
42
43
44 -f, --fperm=mode
45 sets the default permissions of the control group files. The
46 permissions needs to be specified as octal numbers e.g. -f 775.
47 The value is not used as given because the current owner's per‐
48 missions are used as an umask (so 777 will set group and others
49 permissions to the owners permissions).
50
51
52 -s, --tperm=mode
53 sets the default permissions of the control group tasks files.
54 The permissions needs to be specified as octal numbers e.g. -f
55 775. The value is not used as given because the current owner's
56 permissions are used as an umask (so 777 will set group and oth‐
57 ers permissions to the owners permissions).
58
59
60 -t <tuid>:<tgid>
61 defines the default owner of tasks file of the defined control
62 group. I.e. this user and members of this group have write
63 access to the file.
64
65
67 CGROUP_LOGLEVEL
68 controls verbosity of the tool. Allowed values are DEBUG, INFO,
69 WARNING or ERROR.
70
71
73 /etc/cgconfig.conf
74 default libcgroup configuration file
75
76 /etc/cgconfig.d/
77 default libcgroup configuration files directory
78
79
81 cgconfigparser -l /etc/cgconfig.conf
82 setup control group file system based on /etc/cgconfig.conf con‐
83 figuration file
84
85
86
88 cgconfig.conf (5)
89
90
91
92Linux 2009-03-16 CGCONFIGPARSER(8)