Debian Codegraph @

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