3 lxc: linux Container library
5 (C) Copyright IBM Corp. 2007, 2008
8 Daniel Lezcano <daniel.lezcano at free.fr>
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 Translated into Korean
25 by Sungbae Yoo <sungbae.yoo at samsung.com>
29 <!DOCTYPE refentry PUBLIC @docdtd@ [
31 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
32 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
37 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
40 <refentrytitle>lxc-wait</refentrytitle>
41 <manvolnum>1</manvolnum>
45 <refname>lxc-wait</refname>
49 wait for a specific container state
51 지정한 컨테이너 상태로 변할 때까지 대기
57 <command>lxc-wait</command>
58 <arg choice="req">-n <replaceable>name</replaceable></arg>
59 <arg choice="req">-s <replaceable>states</replaceable></arg>
64 <title><!-- Description -->설명</title>
67 <command>lxc-wait</command> waits for a specific container state
68 before exiting, this is useful for scripting.
70 <command>lxc-wait</command>는 컨테이너가 지정한 상태로 변할때 까지 대기한다. 이는 스크립트를 위해 유용하다.
75 <title><!-- Options -->옵션</title>
80 <option>-s, --state <replaceable>states</replaceable></option>
85 Specify the container state(s) to wait for. The container
86 states can be ORed to specify several states.
89 컨테이너 상태들은 OR 기호를 사용하여 여러개를 지정 가능하다.
96 <option>-t, --timeout <replaceable>timeout</replaceable></option>
101 Wait timeout seconds for desired state to be reached.
103 원하는 상태로 변할 때까지 대기할 최대시간을 timeout 초로 지정한다.
115 <title><!-- Examples -->예제</title>
118 <term>lxc-wait -n foo -s RUNNING</term>
122 exits when 'RUNNING' is reached.
124 foo 컨테이너의 상태가 'RUNNING'일 때까지 대기한다.
130 <term>lxc-wait -n foo -s 'RUNNING|STOPPED'</term>
134 exits when 'RUNNING' or 'STOPPED' state is reached.
136 foo 컨테이너의 상태가 'RUNNING' 또는 'STOPPED'으로 변할때까지 대기한다.
145 <title><!-- Diagnostic -->진단</title>
150 <term>The container was not found</term>
154 The specified container was not created before with
155 the <command>lxc-create</command> command.
157 지정한 컨테이너가 <command>lxc-create</command>로 생성된 적이 없다.
171 <title><!-- Author -->저자</title>
172 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
177 <!-- Keep this comment at the end of the file
182 sgml-minimize-attributes:nil
183 sgml-always-quote-attributes:t
186 sgml-parent-document:nil
187 sgml-default-dtd-file:nil
188 sgml-exposed-tags:nil
189 sgml-local-catalogs:nil
190 sgml-local-ecat-files:nil