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" [
28 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
29 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
34 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
37 <refentrytitle>lxc-cgroup</refentrytitle>
38 <manvolnum>1</manvolnum>
42 <refname>lxc-cgroup</refname>
45 manage the control group associated with a container
51 <command>lxc-start <replaceable>-n name</replaceable>
52 <replaceable>subsystem</replaceable> <optional>value</optional>
58 <title>Description</title>
61 <command>lxc-cgroup</command> get or set value from the control
62 group associated with the
63 container <replaceable>name</replaceable>. If
64 no <optional>value</optional> is specified, the value of
65 the <replaceable>subsystem</replaceable> is displayed, otherwise
66 it is set. The <command>lxc-cgroup</command> does not assume the
67 correctness of the <replaceable>subsystem</replaceable> name, it
68 is up to the user to specify the
69 right <replaceable>subsystem</replaceable> name.
75 <title>Options</title>
80 <option><replaceable>subsystem</replaceable></option>
84 Specify the subsystem control group name.
91 <option><optional>value</optional></option>
95 Specify the subsystem control group value to be set.
107 <title>Examples</title>
110 <term>lxc-cgroup -n foo devices.list</term>
113 display the allowed devices to be used.
119 <term>lxc-cgroup -n foo cpuset.cpus "0,3"</term>
122 assign the processors 0 and 3 to the container.
131 <title>Diagnostic</title>
136 <term>The container was not found</term>
139 The container is not running.
152 <title>Author</title>
153 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
158 <!-- Keep this comment at the end of the file
163 sgml-minimize-attributes:nil
164 sgml-always-quote-attributes:t
167 sgml-parent-document:nil
168 sgml-default-dtd-file:nil
169 sgml-exposed-tags:nil
170 sgml-local-catalogs:nil
171 sgml-local-ecat-files:nil