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

NAME

7       cgset - set the parameters of given cgroup(s)
8
9

SYNOPSIS

11       cgset [-r <name=value>] <cgroup_path> ...
12       cgset --copy-from <source_cgroup_path> <cgroup_path> ...
13
14

DESCRIPTION

16       Set the parameters of input cgroups.
17
18
19       <path> is the name of the cgroup which should be changed.  This parameā€
20              ter can be used multiple times.
21
22
23       -r <name=value>
24              defines the name of the file to set and the value  which  should
25              be  written  to  that file.  This parameter can be used multiple
26              times.
27
28
29       --copy-from <source_cgroup_path>
30              defines the name of the cgroup whose parameters will  be  copied
31              to the input cgroup.
32
33

ENVIRONMENT VARIABLES

35       CGROUP_LOGLEVEL
36              controls  verbosity of the tool. Allowed values are DEBUG, INFO,
37              WARNING or ERROR.
38
39

EXAMPLES

41       cgset -r cpuset.cpus=0-1 student
42              set variable cpus in control group student  (controller  cpuset)
43              to 0-1
44
45
46       cgset --copy-from group1/ group2/
47              copy  all  parameters  of  group group1 to group group2 (for all
48              path where both cgroups are defined)
49
50
51

SEE ALSO

53       cgrules.conf (1), cgcreate (1), cgget (1)
54
55
56
57Linux                             2009-03-15                          CGSET(1)
Impressum