Debian Codegraph @

doc/ko/lxc-wait.sgml.in

raw
1 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
2
3 <!DOCTYPE refentry PUBLIC @docdtd@ [
4
5 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
6 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
7 ]>
8
9 <refentry>
10
11 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
12
13 <refmeta>
14 <refentrytitle>lxc-wait</refentrytitle>
15 <manvolnum>1</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>lxc-wait</refname>
20
21 <refpurpose>
22 <!--
23 wait for a specific container state
24 -->
25 지정한 컨테이너 상태로 변할 때까지 대기
26 </refpurpose>
27 </refnamediv>
28
29 <refsynopsisdiv>
30 <cmdsynopsis>
31 <command>lxc-wait</command>
32 <arg choice="req">-n <replaceable>name</replaceable></arg>
33 <arg choice="req">-s <replaceable>states</replaceable></arg>
34 </cmdsynopsis>
35 </refsynopsisdiv>
36
37 <refsect1>
38 <title><!-- Description -->설명</title>
39 <para>
40 <!--
41 <command>lxc-wait</command> waits for a specific container state
42 before exiting, this is useful for scripting.
43 -->
44 <command>lxc-wait</command>는 컨테이너가 지정한 상태로 변할때 까지 대기한다. 이는 스크립트를 위해 유용하다.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title><!-- Options -->옵션</title>
50 <variablelist>
51
52 <varlistentry>
53 <term>
54 <option>-s, --state <replaceable>states</replaceable></option>
55 </term>
56 <listitem>
57 <para>
58 <!--
59 Specify the container state(s) to wait for. The container
60 states can be ORed to specify several states.
61 -->
62 기다릴 컨테이너 상태를 지정한다.
63 컨테이너 상태들은 OR 기호를 사용하여 여러개를 지정 가능하다.
64 </para>
65 </listitem>
66 </varlistentry>
67
68 <varlistentry>
69 <term>
70 <option>-t, --timeout <replaceable>timeout</replaceable></option>
71 </term>
72 <listitem>
73 <para>
74 <!--
75 Wait timeout seconds for desired state to be reached.
76 -->
77 원하는 상태로 변할 때까지 대기할 최대시간을 timeout 초로 지정한다.
78 </para>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </refsect1>
85
86 &commonoptions;
87
88 <refsect1>
89 <title><!-- Examples -->예제</title>
90 <variablelist>
91 <varlistentry>
92 <term>lxc-wait -n foo -s RUNNING</term>
93 <listitem>
94 <para>
95 <!--
96 exits when 'RUNNING' is reached.
97 -->
98 foo 컨테이너의 상태가 'RUNNING'일 때까지 대기한다.
99 </para>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry>
104 <term>lxc-wait -n foo -s 'RUNNING|STOPPED'</term>
105 <listitem>
106 <para>
107 <!--
108 exits when 'RUNNING' or 'STOPPED' state is reached.
109 -->
110 foo 컨테이너의 상태가 'RUNNING' 또는 'STOPPED'으로 변할때까지 대기한다.
111 </para>
112 </listitem>
113 </varlistentry>
114
115 </variablelist>
116 </refsect1>
117
118 <refsect1>
119 <title><!-- Diagnostic -->진단</title>
120
121 <variablelist>
122
123 <varlistentry>
124 <term>The container was not found</term>
125 <listitem>
126 <para>
127 <!--
128 The specified container was not created before with
129 the <command>lxc-create</command> command.
130 -->
131 지정한 컨테이너가 <command>lxc-create</command>로 생성된 적이 없다.
132 컨테이너가 존재하지 않는다.
133 </para>
134 </listitem>
135 </varlistentry>
136
137
138 </variablelist>
139
140 </refsect1>
141
142 &seealso;
143
144 </refentry>
145
146 <!-- Keep this comment at the end of the file
147 Local variables:
148 mode: sgml
149 sgml-omittag:t
150 sgml-shorttag:t
151 sgml-minimize-attributes:nil
152 sgml-always-quote-attributes:t
153 sgml-indent-step:2
154 sgml-indent-data:t
155 sgml-parent-document:nil
156 sgml-default-dtd-file:nil
157 sgml-exposed-tags:nil
158 sgml-local-catalogs:nil
159 sgml-local-ecat-files:nil
160 End:
161 -->