]>
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-wait</refentrytitle> | |
41 | <manvolnum>1</manvolnum> | |
42 | </refmeta> | |
43 | ||
44 | <refnamediv> | |
45 | <refname>lxc-wait</refname> | |
46 | ||
47 | <refpurpose> | |
48 | <!-- | |
49 | wait for a specific container state | |
50 | --> | |
51 | 지정한 컨테이너 상태로 변할 때까지 대기 | |
52 | </refpurpose> | |
53 | </refnamediv> | |
54 | ||
55 | <refsynopsisdiv> | |
56 | <cmdsynopsis> | |
57 | <command>lxc-wait</command> | |
58 | <arg choice="req">-n <replaceable>name</replaceable></arg> | |
59 | <arg choice="req">-s <replaceable>states</replaceable></arg> | |
60 | </cmdsynopsis> | |
61 | </refsynopsisdiv> | |
62 | ||
63 | <refsect1> | |
64 | <title><!-- Description -->설명</title> | |
65 | <para> | |
66 | <!-- | |
67 | <command>lxc-wait</command> waits for a specific container state | |
68 | before exiting, this is useful for scripting. | |
69 | --> | |
70 | <command>lxc-wait</command>는 컨테이너가 지정한 상태로 변할때 까지 대기한다. 이는 스크립트를 위해 유용하다. | |
71 | </para> | |
72 | </refsect1> | |
73 | ||
74 | <refsect1> | |
75 | <title><!-- Options -->옵션</title> | |
76 | <variablelist> | |
77 | ||
78 | <varlistentry> | |
79 | <term> | |
1bc07a5b | 80 | <option>-s, --state <replaceable>states</replaceable></option> |
2b371b26 SY |
81 | </term> |
82 | <listitem> | |
83 | <para> | |
84 | <!-- | |
85 | Specify the container state(s) to wait for. The container | |
86 | states can be ORed to specify several states. | |
87 | --> | |
88 | 기다릴 컨테이너 상태를 지정한다. | |
89 | 컨테이너 상태들은 OR 기호를 사용하여 여러개를 지정 가능하다. | |
90 | </para> | |
91 | </listitem> | |
92 | </varlistentry> | |
93 | ||
94 | <varlistentry> | |
95 | <term> | |
1bc07a5b | 96 | <option>-t, --timeout <replaceable>timeout</replaceable></option> |
2b371b26 SY |
97 | </term> |
98 | <listitem> | |
99 | <para> | |
100 | <!-- | |
101 | Wait timeout seconds for desired state to be reached. | |
102 | --> | |
103 | 원하는 상태로 변할 때까지 대기할 최대시간을 timeout 초로 지정한다. | |
104 | </para> | |
105 | </listitem> | |
106 | </varlistentry> | |
107 | ||
108 | </variablelist> | |
109 | ||
110 | </refsect1> | |
111 | ||
112 | &commonoptions; | |
113 | ||
114 | <refsect1> | |
115 | <title><!-- Examples -->예제</title> | |
116 | <variablelist> | |
117 | <varlistentry> | |
118 | <term>lxc-wait -n foo -s RUNNING</term> | |
119 | <listitem> | |
120 | <para> | |
121 | <!-- | |
122 | exits when 'RUNNING' is reached. | |
123 | --> | |
124 | foo 컨테이너의 상태가 'RUNNING'일 때까지 대기한다. | |
125 | </para> | |
126 | </listitem> | |
127 | </varlistentry> | |
128 | ||
129 | <varlistentry> | |
130 | <term>lxc-wait -n foo -s 'RUNNING|STOPPED'</term> | |
131 | <listitem> | |
132 | <para> | |
133 | <!-- | |
134 | exits when 'RUNNING' or 'STOPPED' state is reached. | |
135 | --> | |
136 | foo 컨테이너의 상태가 'RUNNING' 또는 'STOPPED'으로 변할때까지 대기한다. | |
137 | </para> | |
138 | </listitem> | |
139 | </varlistentry> | |
140 | ||
141 | </variablelist> | |
142 | </refsect1> | |
143 | ||
144 | <refsect1> | |
145 | <title><!-- Diagnostic -->진단</title> | |
146 | ||
147 | <variablelist> | |
148 | ||
149 | <varlistentry> | |
150 | <term>The container was not found</term> | |
151 | <listitem> | |
152 | <para> | |
153 | <!-- | |
154 | The specified container was not created before with | |
155 | the <command>lxc-create</command> command. | |
156 | --> | |
157 | 지정한 컨테이너가 <command>lxc-create</command>로 생성된 적이 없다. | |
158 | 컨테이너가 존재하지 않는다. | |
159 | </para> | |
160 | </listitem> | |
161 | </varlistentry> | |
162 | ||
163 | ||
164 | </variablelist> | |
165 | ||
166 | </refsect1> | |
167 | ||
168 | &seealso; | |
169 | ||
170 | <refsect1> | |
171 | <title><!-- Author -->저자</title> | |
172 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
173 | </refsect1> | |
174 | ||
175 | </refentry> | |
176 | ||
177 | <!-- Keep this comment at the end of the file | |
178 | Local variables: | |
179 | mode: sgml | |
180 | sgml-omittag:t | |
181 | sgml-shorttag:t | |
182 | sgml-minimize-attributes:nil | |
183 | sgml-always-quote-attributes:t | |
184 | sgml-indent-step:2 | |
185 | sgml-indent-data: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 | |
191 | End: | |
192 | --> |