Debian Codegraph @

doc/ja/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 スクリプトで使用するときに役に立ちます。
46 </para>
47 </refsect1>
48
49 <refsect1>
50 <title><!-- Options -->オプション</title>
51 <variablelist>
52
53 <varlistentry>
54 <term>
55 <option>-s, --state <replaceable>states</replaceable></option>
56 </term>
57 <listitem>
58 <para>
59 <!--
60 Specify the container state(s) to wait for. The container
61 states can be ORed to specify several states.
62 -->
63 待つ対象のコンテナの状態を指定します。
64 コンテナの状態として、いくつかの状態を OR で指定することが可能です。
65 </para>
66 </listitem>
67 </varlistentry>
68
69 <varlistentry>
70 <term>
71 <option>-t, --timeout <replaceable>timeout</replaceable></option>
72 </term>
73 <listitem>
74 <para>
75 <!--
76 Wait timeout seconds for desired state to be reached.
77 -->
78 期待した状態になるまで timeout 秒待ちます。
79 </para>
80 </listitem>
81 </varlistentry>
82
83 </variablelist>
84
85 </refsect1>
86
87 &commonoptions;
88
89 <refsect1>
90 <title><!-- Examples -->例</title>
91 <variablelist>
92 <varlistentry>
93 <term>lxc-wait -n foo -s RUNNING</term>
94 <listitem>
95 <para>
96 <!--
97 exits when 'RUNNING' is reached.
98 -->
99 状態が 'RUNNING' になった時点で終了します。
100 </para>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry>
105 <term>lxc-wait -n foo -s 'RUNNING|STOPPED'</term>
106 <listitem>
107 <para>
108 <!--
109 exits when 'RUNNING' or 'STOPPED' state is reached.
110 -->
111 状態が 'RUNNING' もしくは 'STOPPED' になった時点で終了します。
112 </para>
113 </listitem>
114 </varlistentry>
115
116 </variablelist>
117 </refsect1>
118
119 <refsect1>
120 <title><!-- Diagnostic -->診断</title>
121
122 <variablelist>
123
124 <varlistentry>
125 <term>The container was not found</term>
126 <listitem>
127 <para>
128 <!--
129 The specified container was not created before with
130 the <command>lxc-create</command> command.
131 -->
132 指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません。
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 -->