]> git.proxmox.com Git - mirror_lxc.git/blame - doc/ko/lxc-stop.sgml.in
utils: add errno logs for exception case
[mirror_lxc.git] / doc / ko / lxc-stop.sgml.in
CommitLineData
2b371b26
SY
1<!--
2
3lxc: linux Container library
4
5(C) Copyright IBM Corp. 2007, 2008
6
7Authors:
8Daniel Lezcano <daniel.lezcano at free.fr>
9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24Translated into Korean
25by 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-stop</refentrytitle>
41 <manvolnum>1</manvolnum>
42 </refmeta>
43
44 <refnamediv>
45 <refname>lxc-stop</refname>
46
47 <refpurpose>
48 <!--
49 stop the application running inside a container
50 -->
51 컨테이너 종료
52 </refpurpose>
53 </refnamediv>
54
55 <refsynopsisdiv>
56 <cmdsynopsis>
57 <command>lxc-stop</command>
58 <arg choice="req">-n <replaceable>name</replaceable></arg>
59 <arg choice="opt">-W</arg>
60 <arg choice="opt">-r</arg>
61 <arg choice="opt">-t <replaceable>timeout</replaceable></arg>
62 <arg choice="opt">-k</arg>
63 <arg choice="opt">--nokill</arg>
64 <arg choice="opt">--nolock</arg>
65 </cmdsynopsis>
66 </refsynopsisdiv>
67
68 <refsect1>
69 <title><!-- Description -->설명</title>
70
71 <para>
72 <!--
73 <command>lxc-stop</command> reboots, cleanly shuts down, or kills
74 all the processes inside the container. By default, it will
75 request a clean shutdown of the container by sending
55c84efc 76 <command>lxc.signal.halt</command> (defaults to SIGPWR) to
2b371b26
SY
77 the container's init process, waiting up to 60 seconds for the container
78 to exit, and then returning. If the container fails to cleanly exit in
55c84efc 79 60 seconds, it will be sent the <command>lxc.signal.stop</command>
2b371b26 80 (defaults to SIGKILL) to force it to shut down. A request to reboot will
55c84efc 81 send the <command>lxc.signal.reboot</command> (defaults to SIGINT) to the
2b371b26
SY
82 container's init process.
83 -->
55c84efc 84 <command>lxc-stop</command> 는 재뷰탕, 종료, 또는 컨테이너 내의 모든 프로세스를 강제종료 시킨다. 기본 동작은 컨테이너에게 <command>lxc.signal.halt</command> 시그널(기본값은 SIGPWR)을 컨테이너 init 프로세스에게 날려, 컨테이너가 종료되게 요청하는 것이다. 60초 동안 컨테이너가 종료되는 것을 기다리고 리턴된다.
85만약 컨테이너가 60초안에 종료되지 않는다면 <command>lxc.signal.stop</command> 시그널(기본값은 SIGKILL)을 날려 강제로 종료시킨다. 재부팅 요청시에는 <command>lxc.signal.reboot</command> 시그널(기본값은 SIGINT)를 컨테이너 init 프로세스에게 날린다.
2b371b26
SY
86 </para>
87
88 <para>
89 <!--
90 The <optional>-W</optional>, <optional>-r</optional>,
91 <optional>-k</optional> and <optional>\-\-nokill</optional>
92 options specify the action to perform.
93 <optional>-W</optional> indicates that after performing the specified
94 action, <command>lxc-stop</command> should immediately exit, while
95 <optional>-t TIMEOUT</optional> specifies the maximum amount of time
96 to wait for the container to complete the shutdown or reboot.
97 -->
98 <optional>-W</optional>, <optional>-r</optional>, <optional>-s</optional>, <optional>-k</optional>, <optional>--nokill</optional> 옵션은 어떤 동작을 수행할지 지정한다.
99 <optional>-W</optional>는 <command>lxc-stop</command>가 동작 수행후 즉각적으로 종료되게 지정한다. <optional>-t TIMEOUT</optional>는 동작이 완료되기까지 기다릴 최대 시간을 지정한다.
100 </para>
101
102 </refsect1>
103
104 <refsect1>
105 <title><!-- Options -->옵션</title>
106 <variablelist>
107
108 <varlistentry>
109 <term>
110 <option>-r,--reboot </option>
111 </term>
112 <listitem>
113 <para>
114 <!--
115 Request a reboot of the container.
116 -->
117 컨테이너 재부팅을 요청한다.
118 </para>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry>
123 <term>
124 <option>-k,--kill </option>
125 </term>
126 <listitem>
127 <para>
128 <!--
129 Rather than requesting a clean shutdown of the container, explicitly
130 kill all tasks in the container. This is the legacy
131 <command>lxc-stop</command> behavior.
132 -->
133 컨테이너가 깨끗이 종료되는 것 대신 명시적으로 컨테이너 내의 모든 작업들을 강제종료 시킨다. 이것은 이전 <command>lxc-stop</command>의 동작이다.
134 </para>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry>
139 <term>
140 <option>--nokill</option>
141 </term>
142 <listitem>
143 <para>
144 <!--
145 Only request a clean shutdown, do not kill the container tasks if the
146 clean shutdown fails.
147 -->
148 깨끗이 종료되도록 요청한다. 만약 종료가 실패하더라도 컨테이너 작업을 강제로 종료시키지 않는다.
149 </para>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry>
154 <term>
155 <option>--nolock </option>
156 </term>
157 <listitem>
158 <para>
159 <!--
160 This option avoids the use of any of the API lxc locking, and should
161 only be used if <command>lxc-stop</command> is hanging due to a bad
162 system state.
163 -->
164 이 옵션은 lxc API에서 락킹을 사용하지 않는다. <command>lxc-stop</command>이 잘못된 시스템 상태로 인해, 응답이 없게 되었을 경우에만 사용된다.
165 </para>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry>
170 <term>
171 <option>-W,--nowait </option>
172 </term>
173 <listitem>
174 <para>
175 <!--
176 Simply perform the requestion action (reboot, shutdown, or hard
177 kill) and exit.
178 -->
179 동작 수행(재부팅, 종료, 강제종료)을 요청하고 바로 죵료한다.
180 </para>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry>
185 <term>
186 <option>-t,--timeout <replaceable>TIMEOUT</replaceable></option>
187 </term>
188 <listitem>
189 <para>
190 <!--
191 Wait TIMEOUT seconds before hard-stopping the container.
192 -->
193 컨테이너를 강제종료 하기 전에 TIMEOUT 초 만큼 기다린다.
194 </para>
195 </listitem>
196 </varlistentry>
197
198 </variablelist>
199 </refsect1>
200
201 <refsect1>
202 <title><!-- Exit value -->종료</title>
203
204 <variablelist>
205
206 <varlistentry>
207 <term>0</term>
208 <listitem>
209 <para>
210 <!--
211 The container was successfully stopped.
212 -->
213 컨테이너가 성공적으로 종료됬다.
214 </para>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry>
219 <term>1</term>
220 <listitem>
221 <para>
222 <!--
223 An error occurred while stopping the container.
224 -->
225 컨테이너를 종료하던 도중 오류가 발생하였다.
226 </para>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry>
231 <term>2</term>
232 <listitem>
233 <para>
234 <!--
235 The specified container exists but was not running.
236 -->
237 지정한 컨테이너가 있지만 실행되 있지는 않다.
238 </para>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </refsect1>
245 <refsect1>
246 <title><!-- Diagnostic -->진단</title>
247
248 <variablelist>
249
250 <varlistentry>
251 <term>The container was not found</term>
252 <listitem>
253 <para>
254 <!--
255 The specified container was not created before with
256 the <command>lxc-create</command> command.
257 -->
258 지정한 컨테이너가 <command>lxc-create</command>로 생성된 적이 없다.
259 컨테이너가 존재하지 않는다.
260 </para>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </refsect1>
267
268 &seealso;
269
270 <refsect1>
271 <title><!-- Author -->저자</title>
272 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
273 </refsect1>
274
275</refentry>
276
277<!-- Keep this comment at the end of the file
278Local variables:
279mode: sgml
280sgml-omittag:t
281sgml-shorttag:t
282sgml-minimize-attributes:nil
283sgml-always-quote-attributes:t
284sgml-indent-step:2
285sgml-indent-data:t
286sgml-parent-document:nil
287sgml-default-dtd-file:nil
288sgml-exposed-tags:nil
289sgml-local-catalogs:nil
290sgml-local-ecat-files:nil
291End:
292-->