]>
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 | ||
3fce3181 | 31 | <!ENTITY seealso SYSTEM "@builddir@/common_options.sgml"> |
2b371b26 SY |
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-ls</refentrytitle> | |
41 | <manvolnum>1</manvolnum> | |
42 | </refmeta> | |
43 | ||
44 | <refnamediv> | |
45 | <refname>lxc-ls</refname> | |
46 | ||
47 | <refpurpose> | |
48 | <!-- | |
49 | list the containers existing on the system | |
50 | --> | |
51 | 시스템 내에 존재하는 컨테이너들의 리스트 표시 | |
52 | </refpurpose> | |
53 | </refnamediv> | |
54 | ||
55 | <refsynopsisdiv> | |
56 | <cmdsynopsis> | |
57 | <command>lxc-ls</command> | |
58 | <arg choice="opt">-1</arg> | |
59 | <arg choice="opt">--active</arg> | |
60 | <arg choice="opt">--frozen</arg> | |
61 | <arg choice="opt">--running</arg> | |
62 | <arg choice="opt">--stopped</arg> | |
63 | <arg choice="opt">-f</arg> | |
64 | <arg choice="opt">-F <replaceable>format</replaceable></arg> | |
65 | <arg choice="opt">-g <replaceable>groups</replaceable></arg> | |
3fce3181 SY |
66 | <arg choice="opt">--nesting=<replaceable>NUM</replaceable></arg> |
67 | <arg choice="opt">--filter=<replaceable>regex</replaceable></arg> | |
2b371b26 SY |
68 | </cmdsynopsis> |
69 | </refsynopsisdiv> | |
70 | ||
71 | <refsect1> | |
72 | <title><!-- Description -->설명</title> | |
73 | <para> | |
74 | <!-- | |
75 | <command>lxc-ls</command> list the containers existing on the | |
76 | system. | |
77 | --> | |
78 | <command>lxc-ls</command>는 시스템 내에 존재하는 컨테이너들의 리스트를 표시한다. | |
79 | </para> | |
80 | </refsect1> | |
81 | ||
82 | <refsect1> | |
83 | <title><!-- Options -->옵션</title> | |
84 | <variablelist> | |
85 | <varlistentry> | |
86 | <term> | |
1bc07a5b | 87 | <option>-1</option> |
2b371b26 SY |
88 | </term> |
89 | <listitem> | |
90 | <para> | |
91 | <!-- | |
92 | Show one entry per line. (default when /dev/stdout isn't a tty) | |
93 | --> | |
94 | 1개의 항목를 한 줄에 표시한다. (/dev/stdout이 tty가 아닌 경우 기본) | |
95 | </para> | |
96 | </listitem> | |
97 | </varlistentry> | |
98 | ||
99 | <varlistentry> | |
100 | <term> | |
1bc07a5b | 101 | <option>--active</option> |
2b371b26 SY |
102 | </term> |
103 | <listitem> | |
104 | <para> | |
105 | <!-- | |
106 | List only active containers (same as --frozen --running). | |
107 | --> | |
108 | 동작 중인 컨테이너들의 리스트를 표시한다. (--frozen --running과 동일) | |
109 | </para> | |
110 | </listitem> | |
111 | </varlistentry> | |
112 | ||
113 | <varlistentry> | |
114 | <term> | |
1bc07a5b | 115 | <option>--frozen</option> |
2b371b26 SY |
116 | </term> |
117 | <listitem> | |
118 | <para> | |
119 | <!-- | |
120 | List only frozen containers. | |
121 | --> | |
122 | 동결된 컨테이너들의 리스트를 표시한다. | |
123 | </para> | |
124 | </listitem> | |
125 | </varlistentry> | |
126 | ||
127 | <varlistentry> | |
128 | <term> | |
1bc07a5b | 129 | <option>--running</option> |
2b371b26 SY |
130 | </term> |
131 | <listitem> | |
132 | <para> | |
133 | <!-- | |
134 | List only running containers. | |
135 | --> | |
136 | 실행 중인 컨테이너들의 리스트를 표시한다. | |
137 | </para> | |
138 | </listitem> | |
139 | </varlistentry> | |
140 | ||
141 | <varlistentry> | |
142 | <term> | |
1bc07a5b | 143 | <option>--stopped</option> |
2b371b26 SY |
144 | </term> |
145 | <listitem> | |
146 | <para> | |
147 | <!-- | |
148 | List only stopped containers. | |
149 | --> | |
150 | 종료되어 있는 컨테이너들의 리스트를 표시한다. | |
151 | </para> | |
152 | </listitem> | |
153 | </varlistentry> | |
154 | ||
155 | <varlistentry> | |
156 | <term> | |
1bc07a5b | 157 | <option>-f, --fancy</option> |
2b371b26 SY |
158 | </term> |
159 | <listitem> | |
160 | <para> | |
161 | <!-- | |
162 | Use a fancy, column-based output. | |
163 | --> | |
164 | 예쁘게, 컬럼 기반으로 출력해준다. | |
165 | </para> | |
166 | </listitem> | |
167 | </varlistentry> | |
168 | ||
169 | <varlistentry> | |
170 | <term> | |
1bc07a5b | 171 | <option>-F, --fancy-format <replaceable>format</replaceable></option> |
2b371b26 SY |
172 | </term> |
173 | <listitem> | |
174 | <para> | |
175 | <!-- | |
176 | Comma separate list of column to show in the fancy output. | |
177 | The list of accepted and default fields is listed in \-\-help. | |
178 | --> | |
179 | --fancy로 출력할때 어떤 컬럼을 보여줄지 쉼표(,)로 구분된 리스트. | |
180 | 기본으로 표시되는 항목 및 선택할 수 있는 항목을 확인하려면 --help를 사용하면 된다. | |
181 | </para> | |
182 | </listitem> | |
183 | </varlistentry> | |
184 | ||
185 | <varlistentry> | |
186 | <term> | |
1bc07a5b | 187 | <option>-g, --groups <replaceable>groups</replaceable></option> |
2b371b26 SY |
188 | </term> |
189 | <listitem> | |
190 | <para> | |
191 | <!-- | |
192 | Comma separated list of groups the container must have to be displayed. | |
193 | The parameter may be passed multiple times. | |
194 | --> | |
195 | 표시하고자하는 컨테이너 그룹의 쉼표로 구분된 리스트. | |
196 | 이 인수는 여러번 사용될 수 있다. | |
197 | </para> | |
198 | </listitem> | |
199 | </varlistentry> | |
200 | ||
201 | <varlistentry> | |
202 | <term> | |
3fce3181 | 203 | <option>--nesting=<replaceable>NUM</replaceable></option> |
2b371b26 SY |
204 | </term> |
205 | <listitem> | |
206 | <para> | |
207 | <!-- | |
3fce3181 SY |
208 | Show nested containers. The number of nesting levels to be shown can |
209 | be specified by passing a number as argument. | |
2b371b26 | 210 | --> |
3fce3181 | 211 | 중첩된(nested) 컨테이너들의 리스트를 표시한다. 몇번 중첩된(nested) 컨테이너를 보여줄지 숫자로 지정할 수 있다. |
2b371b26 SY |
212 | </para> |
213 | </listitem> | |
214 | </varlistentry> | |
215 | ||
216 | <varlistentry> | |
217 | <term> | |
3fce3181 | 218 | <option>--filter=<replaceable>regex</replaceable></option> |
2b371b26 SY |
219 | </term> |
220 | <listitem> | |
221 | <para> | |
222 | <!-- | |
3fce3181 SY |
223 | The regular expression passed to <command>lxc-ls</command> will be |
224 | applied to the container name. The format is a POSIX extended | |
225 | regular expression. It can also be given as additional argument | |
27a72f2f | 226 | without explicitly using <option>\-\-filter</option>. |
2b371b26 | 227 | --> |
3fce3181 | 228 | <command>lxc-ls</command> 명령어 사용시 컨테이너 이름에 적용할 정규표현식이다. 형식은 POSIX 확장 정규표현식이다. 명시적으로 <option>--filter</option>을 사용하지 않고도 사용할 수 있다. |
347597fa SY |
229 | </para> |
230 | </listitem> | |
231 | </varlistentry> | |
2b371b26 SY |
232 | </variablelist> |
233 | ||
234 | </refsect1> | |
235 | ||
236 | <refsect1> | |
237 | <title><!-- Examples -->예제</title> | |
238 | <variablelist> | |
239 | <varlistentry> | |
240 | <term>lxc-ls --fancy</term> | |
241 | <listitem> | |
242 | <para> | |
243 | <!-- | |
244 | list all the containers, listing one per line along with its | |
245 | name, state, ipv4 and ipv6 addresses. | |
246 | --> | |
247 | 모든 컨테이너를 표시한다. 1개의 행에 컨테이너의 이름, 상태, ipv4 및 ipv6 주소가 들어있다. | |
248 | </para> | |
249 | </listitem> | |
250 | </varlistentry> | |
251 | ||
252 | <varlistentry> | |
253 | <term>lxc-ls --active -1</term> | |
254 | <listitem> | |
255 | <para> | |
256 | <!-- | |
257 | list active containers and display the list in one column. | |
258 | --> | |
259 | 동작 중인 컨테이너들의 리스트를 1열로 표시한다. | |
260 | </para> | |
261 | </listitem> | |
262 | </varlistentry> | |
263 | ||
264 | </variablelist> | |
265 | </refsect1> | |
266 | ||
3fce3181 SY |
267 | &commonoptions; |
268 | ||
2b371b26 SY |
269 | &seealso; |
270 | ||
271 | <refsect1> | |
272 | <title><!-- Author -->저자</title> | |
273 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
274 | </refsect1> | |
275 | ||
276 | </refentry> | |
277 | ||
278 | <!-- Keep this comment at the end of the file | |
279 | Local variables: | |
280 | mode: sgml | |
281 | sgml-omittag:t | |
282 | sgml-shorttag:t | |
283 | sgml-minimize-attributes:nil | |
284 | sgml-always-quote-attributes:t | |
285 | sgml-indent-step:2 | |
286 | sgml-indent-data:t | |
287 | sgml-parent-document:nil | |
288 | sgml-default-dtd-file:nil | |
289 | sgml-exposed-tags:nil | |
290 | sgml-local-catalogs:nil | |
291 | sgml-local-ecat-files:nil | |
292 | End: | |
293 | --> |