]>
Commit | Line | Data |
---|---|---|
2b371b26 SY |
1 | <!-- |
2 | ||
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright IBM Corp. 2007, 2008 | |
6 | ||
7 | Authors: | |
8 | Daniel Lezcano <daniel.lezcano at free.fr> | |
9 | ||
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. | |
14 | ||
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. | |
19 | ||
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
23 | ||
24 | Translated into Korean | |
25 | by Sungbae Yoo <sungbae.yoo at samsung.com> | |
26 | ||
27 | --> | |
28 | ||
29 | <!DOCTYPE refentry PUBLIC @docdtd@ [ | |
30 | ||
31 | <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml"> | |
32 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> | |
33 | ]> | |
34 | ||
35 | <refentry> | |
36 | ||
37 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
38 | ||
39 | <refmeta> | |
40 | <refentrytitle>lxc-cgroup</refentrytitle> | |
41 | <manvolnum>1</manvolnum> | |
42 | </refmeta> | |
43 | ||
44 | <refnamediv> | |
45 | <refname>lxc-cgroup</refname> | |
46 | ||
47 | <refpurpose> | |
48 | <!-- | |
49 | manage the control group associated with a container | |
50 | --> | |
51 | 컨테이너와 관련된 컨트롤 그룹 관리 | |
52 | </refpurpose> | |
53 | </refnamediv> | |
54 | ||
55 | <refsynopsisdiv> | |
56 | <cmdsynopsis> | |
57 | <command>lxc-cgroup</command> | |
58 | <arg choice="req">-n <replaceable>name</replaceable></arg> | |
59 | <arg choice="req"><replaceable>state-object</replaceable></arg> | |
60 | <arg choice="opt">value</arg> | |
61 | </cmdsynopsis> | |
62 | </refsynopsisdiv> | |
63 | ||
64 | <refsect1> | |
65 | <title><!-- Description -->설명</title> | |
66 | ||
67 | <para> | |
68 | <!-- | |
69 | <command>lxc-cgroup</command> gets or sets the value of a | |
70 | <replaceable>state-object</replaceable> (e.g., 'cpuset.cpus') | |
71 | in the container's cgroup for the corresponding subsystem (e.g., | |
72 | 'cpuset'). If no <optional>value</optional> is specified, the | |
73 | current value of the <replaceable>state-object</replaceable> is | |
74 | displayed; otherwise it is set. | |
75 | --> | |
76 | <command>lxc-cgroup</command>는 지정한 서브시스템(예를 들어 'cpuset')의 컨테이너 cgroup의 <replaceable>state-object</replaceable> (예를들어 'cpuset.cpus')의 값을 얻어오거나 설정한다. | |
77 | 만약 <optional>value</optional>가 지정되지 않았다면, <replaceable>state-object</replaceable>의 현재 값을 표시한다. 지정한 경우에는 해당 값으로 설정한다. | |
78 | </para> | |
79 | ||
80 | <para> | |
81 | <!-- | |
82 | Note that <command>lxc-cgroup</command> does not check that the | |
83 | <replaceable>state-object</replaceable> is valid for the running | |
84 | kernel, or that the corresponding subsystem is contained in any | |
85 | mounted cgroup hierarchy. | |
86 | --> | |
87 | <command>lxc-cgroup</command>는 <replaceable>state-object</replaceable>가 실행중인 커널에서 사용가능한지 검사하지 않는 것을 주의해야 한다. 또한 지정한 서브시스템이 마운트된 cgroup에 포함이 되어 있는지도 검사하지 않는다. | |
88 | </para> | |
89 | ||
90 | </refsect1> | |
91 | ||
92 | <refsect1> | |
93 | <title><!-- Options -->옵션</title> | |
94 | <variablelist> | |
95 | ||
96 | <varlistentry> | |
97 | <term> | |
98 | <option><replaceable>state-object</replaceable></option> | |
99 | </term> | |
100 | <listitem> | |
101 | <para> | |
102 | <!-- | |
103 | Specify the state object name. | |
104 | --> | |
105 | cgroup의 state object 이름을 지정한다. | |
106 | </para> | |
107 | </listitem> | |
108 | </varlistentry> | |
109 | ||
110 | <varlistentry> | |
111 | <term> | |
112 | <option><optional>value</optional></option> | |
113 | </term> | |
114 | <listitem> | |
115 | <para> | |
116 | <!-- | |
117 | Specify the value to assign to the state object. | |
118 | --> | |
119 | cgroup의 state object에 설정할 값을 지정한다. | |
120 | </para> | |
121 | </listitem> | |
122 | </varlistentry> | |
123 | ||
124 | </variablelist> | |
125 | ||
126 | </refsect1> | |
127 | ||
128 | &commonoptions; | |
129 | ||
130 | <refsect1> | |
131 | <title><!-- Examples -->예제</title> | |
132 | <variablelist> | |
133 | <varlistentry> | |
134 | <term>lxc-cgroup -n foo devices.list</term> | |
135 | <listitem> | |
136 | <para> | |
137 | <!-- | |
138 | display the allowed devices to be used. | |
139 | --> | |
140 | 허용된 디바이스를 표시한다. | |
141 | </para> | |
142 | </listitem> | |
143 | </varlistentry> | |
144 | ||
145 | <varlistentry> | |
146 | <term>lxc-cgroup -n foo cpuset.cpus "0,3"</term> | |
147 | <listitem> | |
148 | <para> | |
149 | <!-- | |
150 | assign the processors 0 and 3 to the container. | |
151 | --> | |
152 | 프로세서 0과 3을 컨테이너에게 할당한다. | |
153 | </para> | |
154 | </listitem> | |
155 | </varlistentry> | |
156 | ||
157 | </variablelist> | |
158 | </refsect1> | |
159 | ||
160 | <refsect1> | |
161 | <title><!-- Diagnostic -->진단</title> | |
162 | ||
163 | <variablelist> | |
164 | ||
165 | <varlistentry> | |
166 | <term>The container was not found</term> | |
167 | <listitem> | |
168 | <para> | |
169 | <!-- | |
170 | The container is not running. | |
171 | --> | |
172 | 컨테이너가 실행중이 아니다. | |
173 | </para> | |
174 | </listitem> | |
175 | </varlistentry> | |
176 | ||
177 | ||
178 | </variablelist> | |
179 | ||
180 | </refsect1> | |
181 | ||
182 | &seealso; | |
183 | ||
184 | <refsect1> | |
185 | <title><!-- Author -->저자</title> | |
186 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
187 | </refsect1> | |
188 | ||
189 | </refentry> | |
190 | ||
191 | <!-- Keep this comment at the end of the file | |
192 | Local variables: | |
193 | mode: sgml | |
194 | sgml-omittag:t | |
195 | sgml-shorttag:t | |
196 | sgml-minimize-attributes:nil | |
197 | sgml-always-quote-attributes:t | |
198 | sgml-indent-step:2 | |
199 | sgml-indent-data:t | |
200 | sgml-parent-document:nil | |
201 | sgml-default-dtd-file:nil | |
202 | sgml-exposed-tags:nil | |
203 | sgml-local-catalogs:nil | |
204 | sgml-local-ecat-files:nil | |
205 | End: | |
206 | --> |