]>
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-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 | --> | |
51 | 지정한 컨테이너의 콘솔 실행 | |
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 | --> | |
73 | 만약 파라미터로 지정한 컨테이너의 tty 서비스가 제대로 설정되어 있고 사용가능한 상태라면, 이 명령어는 컨테이너에 로그인 할 수 있는 콘솔을 실행한다. | |
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 | --> | |
83 | 사용가능한 tty는 이 명령어로 얻어올 수 있는 빈 슬롯을 의미한다. | |
84 | 즉, 만약 컨테이너가 4개의 tty가 사용가능하고 명령어가 4번 실행하여 각각 다른 tty를 얻어왔다면, 다섯번째 명령은 실패할 것이다. 왜냐하면 가능한 콘솔이 없기 때문이다. | |
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 | --> | |
93 | 명령어는 tty에 연결한다. 연결이 끊어지면, 명령어는 다시 실행되어 연결 끊기기 이전 상태에서 tty를 얻어오려고 시도한다. | |
94 | </para> | |
95 | ||
96 | <para> | |
97 | <!-- | |
98 | A <replaceable>ttynum</replaceable> of 0 may be given to attach | |
99 | to the container's /dev/console instead of its | |
100 | dev/tty<<replaceable>ttynum</replaceable>>. | |
101 | --> | |
102 | <replaceable>ttynum</replaceable>가 0으로 지정되어 있으면, 컨테이너의 /dev/console에 연결한다. 그렇지 않으면 dev/tty<<replaceable>ttynum</replaceable>>에 연결한다. | |
103 | </para> | |
104 | ||
105 | <para> | |
106 | <!-- | |
107 | A keyboard escape sequence may be used to disconnect from the tty | |
108 | and quit lxc-console. The default escape sequence is <Ctrl+a q>. | |
109 | --> | |
110 | tty 접속을 끊고 lxc-console을 나가고 싶다면 키보드 이스케이프 키를 이용하면 된다. 기본키는 <Ctrl+a q>이다. | |
111 | </para> | |
112 | ||
113 | </refsect1> | |
114 | ||
115 | <refsect1> | |
116 | <title><!-- Options -->옵션</title> | |
117 | <variablelist> | |
118 | ||
119 | <varlistentry> | |
120 | <term> | |
1bc07a5b | 121 | <option>-e, --escape <replaceable>escape character</replaceable></option> |
2b371b26 SY |
122 | </term> |
123 | <listitem> | |
124 | <para> | |
125 | <!-- | |
126 | Specify the escape sequence prefix to use instead of | |
127 | <Ctrl a>. | |
128 | This may be given as '^letter' or just 'letter'. For example | |
129 | to use <Ctrl+b q> as the escape sequence use -e '^b'. | |
130 | --> | |
131 | <Ctrl a> 대신에 사용할 이스케이프 키 prefix를 지정한다. | |
132 | '^문자' 또는 '문자'로 지정 가능하다. | |
133 | 예를 들어 <Ctrl+b q>를 사용하고 싶다면, -e '^b'와 같이 지정하면 된다. | |
134 | </para> | |
135 | </listitem> | |
136 | </varlistentry> | |
137 | <varlistentry> | |
138 | <term> | |
1bc07a5b | 139 | <option>-t, --tty <replaceable>ttynum</replaceable></option> |
2b371b26 SY |
140 | </term> |
141 | <listitem> | |
142 | <para> | |
143 | <!-- | |
144 | Specify the tty number to connect to or 0 for the console. If not | |
145 | specified the next available tty number will be automatically | |
146 | chosen by the container. | |
147 | --> | |
148 | 연결하고자 하는 tty의 번호 또는 콘솔 연결을 위해 0을 지정한다. | |
149 | 지정하지 않으면, 다음으로 사용가능한 tty 번호를 컨테이너가 자동으로 선택한다. | |
150 | </para> | |
151 | </listitem> | |
152 | </varlistentry> | |
153 | ||
154 | </variablelist> | |
155 | ||
156 | </refsect1> | |
157 | ||
158 | &commonoptions; | |
159 | ||
160 | <refsect1> | |
161 | <title><!-- Diagnostic -->진단</title> | |
162 | ||
163 | <variablelist> | |
164 | ||
165 | <varlistentry> | |
166 | <term>tty service denied</term> | |
167 | <listitem> | |
168 | <para> | |
169 | <!-- | |
170 | No tty is available or there is not enough privilege to | |
171 | use the console. For example, the container belongs to | |
172 | user "foo" and "bar" is trying to open a console to it. | |
173 | --> | |
174 | 사용가능한 tty가 없거나 콘솔을 사용하기에 충분한 privilege가 없다. | |
175 | 예를 들면, 컨테이너가 "foo" 사용자 소유인데 "bar"가 콘솔을 열려고 하는 경우이다. | |
176 | </para> | |
177 | </listitem> | |
178 | </varlistentry> | |
179 | ||
180 | </variablelist> | |
181 | ||
182 | </refsect1> | |
183 | ||
184 | &seealso; | |
185 | ||
186 | <refsect1> | |
187 | <title><!-- Author -->저자</title> | |
188 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
189 | </refsect1> | |
190 | ||
191 | </refentry> | |
192 | ||
193 | <!-- Keep this comment at the end of the file | |
194 | Local variables: | |
195 | mode: sgml | |
196 | sgml-omittag:t | |
197 | sgml-shorttag:t | |
198 | sgml-minimize-attributes:nil | |
199 | sgml-always-quote-attributes:t | |
200 | sgml-indent-step:2 | |
201 | sgml-indent-data:t | |
202 | sgml-parent-document:nil | |
203 | sgml-default-dtd-file:nil | |
204 | sgml-exposed-tags:nil | |
205 | sgml-local-catalogs:nil | |
206 | sgml-local-ecat-files:nil | |
207 | End: | |
208 | --> |