1LXC-CGROUP(1) LXC-CGROUP(1)
2
3
4
6 lxc-cgroup - manage the control group associated with a container
7
9 lxc-start -n name subsystem [value] .SH "DESCRIPTION"
10
11 lxc-cgroup get or set value from the control group associated with the
12 container name. If no [value] is specified, the value of the subsystem
13 is displayed, otherwise it is set. The lxc-cgroup does not assume the
14 correctness of the subsystem name, it is up to the user to specify the
15 right subsystem name.
16
18 subsystem
19 Specify the subsystem control group name.
20
21 [value]
22 Specify the subsystem control group value to be set.
23
25 These options are common to most of lxc commands.
26
27 -?, -h, --help
28 Print a longer usage message than normal.
29
30 --usage
31 Give the usage message
32
33 -q, --quiet
34 mute on
35
36 -o, --logfile=FILE
37 Output to an alternate log FILE. The default is no log.
38
39 -l, --logpriority=LEVEL
40 Set log priority to LEVEL. The default log priority is ERROR.
41 Possible values are : FATAL, CRIT, WARN, ERROR, NOTICE, INFO,
42 DEBUG.
43
44 Note that this option is setting the priority of the events log
45 in the alternate log file. It do not have effect on the ERROR
46 events log on stderr.
47
48 -n, --name=NAME
49 Use container identifier NAME. The container identifier format
50 is an alphanumeric string.
51
53 lxc-cgroup -n foo devices.list
54 display the allowed devices to be used.
55
56 lxc-cgroup -n foo cpuset.cpus "0,3"
57 assign the processors 0 and 3 to the container.
58
60 The container was not found
61 The container is not running.
62
64 lxc(1), lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-
65 execute(1), lxc-kill(1), lxc-console(1), lxc-monitor(1), lxc-wait(1),
66 lxc-cgroup(1), lxc-ls(1), lxc-ps(1), lxc-info(1), lxc-freeze(1), lxc-
67 unfreeze(1), lxc.conf(5)
68
70 Daniel Lezcano <daniel.lezcano@free.fr>
71
72
73
74 Mon Jul 26 17:09:32 UTC 2010 LXC-CGROUP(1)