]> git.proxmox.com Git - mirror_lxc.git/blame - doc/ja/lxc-console.sgml.in
start: call lxc_find_gateway_addresses early
[mirror_lxc.git] / doc / ja / lxc-console.sgml.in
CommitLineData
8900b9eb 1<!--
57da8c32
KY
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
a5ba9671 22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
57da8c32 23
8900b9eb 24Translated into Japanese
57da8c32
KY
25by KATOH Yasufumi <karma at jazz.email.ne.jp>
26
27-->
28
faefa7f8 29<!DOCTYPE refentry PUBLIC @docdtd@ [
57da8c32
KY
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-console</refentrytitle>
41 <manvolnum>1</manvolnum>
42 </refmeta>
43
44 <refnamediv>
45 <refname>lxc-console</refname>
46
47 <refpurpose>
48 <!--
49 Launch a console for the specified container
50 -->
9a97d4e4 51 指定したコンテナのコンソールの起動
57da8c32
KY
52 </refpurpose>
53 </refnamediv>
54
55 <refsynopsisdiv>
56 <cmdsynopsis>
57 <command>lxc-console</command>
58 <arg choice="req">-n <replaceable>name</replaceable></arg>
59 <arg choice="opt">-e <replaceable>escape character</replaceable></arg>
60 <arg choice="opt">-t <replaceable>ttynum</replaceable></arg>
61 </cmdsynopsis>
62 </refsynopsisdiv>
63
64 <refsect1>
65 <title><!-- Description -->説明</title>
66
67 <para>
68 <!--
69 If the tty service has been configured and is available for the
70 container specified as parameter, this command will launch a
71 console allowing to log on the container.
72 -->
dc421f3a 73 パラメータで指定したコンテナで tty サービスが設定され、利用可能である場合、このコマンドはコンテナにログイン出来るコンソールを起動します。
57da8c32
KY
74 </para>
75
76 <para>
77 <!--
78 The available tty are free slots taken by this command. That
79 means if the container has four ttys available and the command
80 has been launched four times each taking a different tty, the
81 fifth command will fail because no console will be available.
82 -->
dc421f3a
KY
83 利用可能な tty は、このコマンドが取得した空いている tty です。
84 これは、コンテナに 4 つの利用可能な tty がある場合、コマンドは 4 個までそれぞれ異なる tty を取得して開きます。5 回目のコマンドは利用可能なコンソールがないため、失敗します。
57da8c32
KY
85 </para>
86
87 <para>
88 <!--
89 The command will connect to a tty. If the connection is lost or
90 broken, the command can be launched again and regain the tty at
91 the state it was before the disconnection.
92 -->
dc421f3a
KY
93 コマンドは tty に接続します。
94 もし、接続が失われたり、切断された場合、コマンドは再度起動し、切断前の状態で tty の再取得をしようとします。
57da8c32
KY
95 </para>
96
a5ba9671
KY
97 <para>
98 <!--
99 A <replaceable>ttynum</replaceable> of 0 may be given to attach
100 to the container's /dev/console instead of its
101 dev/tty&lt;<replaceable>ttynum</replaceable>&gt;.
102 -->
dc421f3a 103 <replaceable>ttynum</replaceable> を 0 に設定すると、dev/tty&lt;<replaceable>ttynum</replaceable>&gt;の代わりにコンテナの /dev/console に接続します。
a5ba9671
KY
104 </para>
105
57da8c32
KY
106 <para>
107 <!--
108 A keyboard escape sequence may be used to disconnect from the tty
109 and quit lxc-console. The default escape sequence is &lt;Ctrl+a q&gt;.
110 -->
dc421f3a
KY
111 tty からの接続を切断し、lxc-console を抜ける時に、キーボードのエスケープシーケンスを使います。
112 デフォルトのエスケープシーケンスは &lt;Ctrl+a q&gt; です。
57da8c32
KY
113 </para>
114
115 </refsect1>
116
117 <refsect1>
118 <title><!-- Options -->オプション</title>
119 <variablelist>
120
121 <varlistentry>
122 <term>
1bc07a5b 123 <option>-e, --escape <replaceable>escape character</replaceable></option>
57da8c32
KY
124 </term>
125 <listitem>
126 <para>
127 <!--
128 Specify the escape sequence prefix to use instead of
129 &lt;Ctrl a&gt;.
130 This may be given as '^letter' or just 'letter'. For example
131 to use &lt;Ctrl+b q&gt; as the escape sequence use -e '^b'.
132 -->
dc421f3a
KY
133 &lt;Ctrl a&gt; の代わりに使用するエスケープシーケンスのプレフィックスを指定します。
134 これは '^文字' または単なる '文字' で指定します。
135 例えば、&lt;Ctrl+b q&gt; をエスケープシーケンスとして使うには -e '^b' とします。
57da8c32
KY
136 </para>
137 </listitem>
138 </varlistentry>
139 <varlistentry>
140 <term>
1bc07a5b 141 <option>-t, --tty <replaceable>ttynum</replaceable></option>
57da8c32
KY
142 </term>
143 <listitem>
144 <para>
145 <!--
a5ba9671
KY
146 Specify the tty number to connect to or 0 for the console. If not
147 specified the next available tty number will be automatically
36b33520 148 chosen by the container.
57da8c32 149 -->
dc421f3a
KY
150 接続する tty の番号か、コンソールに接続するために 0 を指定します。
151 指定しない場合は、次に利用可能な tty 番号を自動的にコンテナが選択します。
57da8c32
KY
152 </para>
153 </listitem>
154 </varlistentry>
155
156 </variablelist>
157
158 </refsect1>
159
160 &commonoptions;
161
162 <refsect1>
163 <title><!-- Diagnostic -->診断</title>
164
165 <variablelist>
166
167 <varlistentry>
168 <term>tty service denied</term>
169 <listitem>
170 <para>
171 <!--
172 No tty is available or there is not enough privilege to
173 use the console. For example, the container belongs to
174 user "foo" and "bar" is trying to open a console to it.
175 -->
dc421f3a
KY
176 利用可能な tty がないか、コンソールを使うのに十分な権限がありません。
177 例えば、コンテナが "foo" ユーザの所有であるのに、"bar" ユーザがコンソールを開こうとしている場合などです。
57da8c32
KY
178 </para>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </refsect1>
185
186 &seealso;
187
188 <refsect1>
189 <title><!-- Author -->作者</title>
190 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
191 </refsect1>
192
193</refentry>
194
195<!-- Keep this comment at the end of the file
196Local variables:
197mode: sgml
198sgml-omittag:t
199sgml-shorttag:t
200sgml-minimize-attributes:nil
201sgml-always-quote-attributes:t
202sgml-indent-step:2
203sgml-indent-data:t
204sgml-parent-document:nil
205sgml-default-dtd-file:nil
206sgml-exposed-tags:nil
207sgml-local-catalogs:nil
208sgml-local-ecat-files:nil
209End:
210-->