3
lxc: linux Container library
5
(C) Copyright IBM Corp. 2007, 2008
8
Daniel Lezcano <dlezcano at fr.ibm.com>
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Lesser General Public
12
License as published by the Free Software Foundation; either
13
version 2.1 of the License, or (at your option) any later version.
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Lesser General Public License for more details.
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
30
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
33
<refentrytitle>lxc-cgroup</refentrytitle>
34
<manvolnum>1</manvolnum>
38
<refname>lxc-cgroup</refname>
41
manage the control group associated with a container
47
<command>lxc-start <replaceable>-n name</replaceable>
48
<replaceable>subsystem</replaceable> <optional>value</optional>
54
<title>Description</title>
57
<command>lxc-cgroup</command> get or set value from the control
58
group associated with the
59
container <replaceable>name</replaceable>. If
60
no <optional>value</optional> is specified, the value of
61
the <replaceable>subsystem</replaceable> is displayed, otherwise
62
it is set. The <command>lxc-cgroup</command> does not assume the
63
correctness of the <replaceable>subsystem</replaceable> name, it
64
is up to the user to specify the
65
right <replaceable>subsystem</replaceable> name.
71
<title>Options</title>
76
<option>-n <replaceable>name</replaceable></option>
80
Specify the container name associated with a control group.
87
<option><replaceable>subsystem</replaceable></option>
91
Specify the subsystem control group name.
98
<option><optional>value</optional></option>
102
Specify the subsystem control group value to be set.
112
<title>Examples</title>
115
<term>lxc-cgroup -n foo devices.list</term>
118
display the allowed devices to be used.
124
<term>lxc-cgroup -n foo cpuset.cpus "0,3"</term>
127
assign the processors 0 and 3 to the container.
136
<title>Diagnostic</title>
141
<term>The container was not found</term>
144
The container is not running.
155
<title>See Also</title>
159
<refentrytitle><command>lxc.conf</command></refentrytitle>
160
<manvolnum>5</manvolnum>
167
<title>Author</title>
168
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
173
<!-- Keep this comment at the end of the file
178
sgml-minimize-attributes:nil
179
sgml-always-quote-attributes:t
182
sgml-parent-document:nil
183
sgml-default-dtd-file:nil
184
sgml-exposed-tags:nil
185
sgml-local-catalogs:nil
186
sgml-local-ecat-files:nil