]>
Commit | Line | Data |
---|---|---|
2b371b26 SY |
1 | <!-- |
2 | ||
3 | Copyright © 2012 Oracle. | |
4 | ||
5 | Authors: | |
6 | Dwight Engen <dwight.engen@oracle.com> | |
7 | ||
8 | This library is free software; you can redistribute it and/or | |
9 | modify it under the terms of the GNU Lesser General Public | |
10 | License as published by the Free Software Foundation; either | |
11 | version 2.1 of the License, or (at your option) any later version. | |
12 | ||
13 | This library is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | Lesser General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU Lesser General Public | |
19 | License along with this library; if not, write to the Free Software | |
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
21 | ||
22 | Translated into Korean | |
23 | by Sungbae Yoo <sungbae.yoo at samsung.com> | |
24 | ||
25 | --> | |
26 | ||
27 | <!DOCTYPE refentry PUBLIC @docdtd@ [ | |
28 | ||
29 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> | |
30 | ]> | |
31 | ||
32 | <refentry> | |
33 | ||
34 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
35 | ||
36 | <refmeta> | |
37 | <refentrytitle>lxc-top</refentrytitle> | |
38 | <manvolnum>1</manvolnum> | |
39 | </refmeta> | |
40 | ||
41 | <refnamediv> | |
42 | <refname>lxc-top</refname> | |
43 | ||
44 | <refpurpose> | |
45 | <!-- | |
46 | monitor container statistics | |
47 | --> | |
48 | 컨테이너의 통계정보 표시 | |
49 | </refpurpose> | |
50 | </refnamediv> | |
51 | ||
52 | <refsynopsisdiv> | |
53 | <cmdsynopsis> | |
54 | <command>lxc-top</command> | |
55 | <arg choice="opt">--help</arg> | |
56 | <arg choice="opt">--delay <replaceable>delay</replaceable></arg> | |
57 | <arg choice="opt">--sort <replaceable>sortby</replaceable></arg> | |
58 | <arg choice="opt">--reverse</arg> | |
59 | </cmdsynopsis> | |
60 | </refsynopsisdiv> | |
61 | ||
62 | <refsect1> | |
63 | <title><!-- Description -->설명</title> | |
64 | <para> | |
65 | <!-- | |
66 | <command>lxc-top</command> displays container statistics. The output | |
67 | is updated every <replaceable>delay</replaceable> seconds, and is | |
68 | ordered according to the <replaceable>sortby</replaceable> value | |
69 | given. <command>lxc-top</command> will display as many containers as | |
70 | can fit in your terminal. Press 'q' to quit. Press one of the sort | |
71 | key letters to sort by that statistic. Pressing a sort key letter a | |
72 | second time reverses the sort order. | |
73 | --> | |
74 | <command>lxc-top</command>는 컨테이너의 통계정보를 표시한다. 출력은 매 <replaceable>delay</replaceable>초마다 갱신된다. | |
75 | 그리고 <replaceable>sortby</replaceable>로 지정한 항목에 대하여 정렬을 수행한다. <command>lxc-top</command>명령어는 현재 터미널의 크기에 맞게 가능한 많은 컨테이너를 표시한다. 'q'를 누르면 나갈 수 있다. 정렬 항목의 문자를 입력하면 그 항목에 대해 정렬한다. 해당 문자를 두번 입력하면 정렬 순서가 바뀐다. | |
76 | </para> | |
77 | </refsect1> | |
78 | ||
79 | <refsect1> | |
80 | <title><!-- Options -->옵션</title> | |
81 | <variablelist> | |
82 | ||
83 | <varlistentry> | |
84 | <term> | |
1bc07a5b | 85 | <option>-d, --delay <replaceable>delay</replaceable></option> |
2b371b26 SY |
86 | </term> |
87 | <listitem> | |
88 | <para> | |
89 | <!-- | |
90 | Amount of time in seconds to delay between screen updates. | |
91 | The default is 3 seconds. | |
92 | --> | |
93 | 화면을 갱신하는 시간을 초단위로 지정한다. | |
94 | 기본값은 3초이다. | |
95 | </para> | |
96 | </listitem> | |
97 | </varlistentry> | |
98 | <varlistentry> | |
99 | <term> | |
1bc07a5b | 100 | <option>-s, --sort <replaceable>sortby</replaceable></option> |
2b371b26 SY |
101 | </term> |
102 | <listitem> | |
103 | <para> | |
104 | <!-- | |
105 | Sort the containers by name, cpu use, or memory use. The | |
106 | <replaceable>sortby</replaceable> argument should be one of | |
107 | the letters n,c,b,m,k to sort by name, cpu use, block I/O, memory, | |
108 | or kernel memory use respectively. The default is 'n'. | |
109 | --> | |
110 | 이름, CPU 사용량, 메모리 사용량에 대해 정렬한다. <replaceable>sortby</replaceable> 인수에는 최소한 한개의 n, c, b, m, k 문자가 있어야 하며, 각각 CPU 사용량, 블록 I/O, 메모리 사용량, 커널 메모리 사용량을 가리킨다. 기본값은 'n'이다. | |
111 | </para> | |
112 | </listitem> | |
113 | </varlistentry> | |
114 | <varlistentry> | |
115 | <term> | |
1bc07a5b | 116 | <option>-r, --reverse</option> |
2b371b26 SY |
117 | </term> |
118 | <listitem> | |
119 | <para> | |
120 | <!-- | |
121 | Reverse the default sort order. By default, names sort in | |
122 | ascending alphabetical order and values sort in descending | |
123 | amounts (ie. largest value first). | |
124 | --> | |
125 | 정렬 순서를 바꾼다. 기본 동작은, 이름은 오름차순 알파벳 정렬이고 값은 내림차순 정렬(큰 값이 먼저)이다. | |
126 | </para> | |
127 | </listitem> | |
128 | </varlistentry> | |
129 | </variablelist> | |
130 | </refsect1> | |
131 | ||
132 | <refsect1> | |
133 | <title><!-- Example -->예제</title> | |
134 | <variablelist> | |
135 | <varlistentry> | |
136 | <term>lxc-top --delay 1 --sort m</term> | |
137 | <listitem> | |
138 | <para> | |
139 | <!-- | |
140 | Display containers, updating every second, sorted by memory use. | |
141 | --> | |
142 | 컨테이너를 1초마다 갱신하면서, 메모리 사용량으로 정렬해서 표시한다. | |
143 | </para> | |
144 | </listitem> | |
145 | </varlistentry> | |
146 | </variablelist> | |
147 | </refsect1> | |
148 | ||
149 | <refsect1> | |
150 | <title><!-- Notes -->주의</title> | |
151 | <para> | |
152 | <!-- | |
153 | For performance reasons the kernel does not account kernel memory use | |
154 | unless a kernel memory limit is set. If a limit is not set, <command> | |
155 | lxc-top</command> will display kernel memory use as 0. If no containers | |
156 | are being accounted, the KMem column will not be displayed. A limit can | |
157 | be set by specifying | |
158 | <programlisting> | |
159 | lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable> | |
160 | </programlisting> | |
161 | in your container configuration file, see | |
162 | <citerefentry> | |
163 | <refentrytitle>lxc.conf</refentrytitle> | |
164 | <manvolnum>5</manvolnum> | |
165 | </citerefentry>. | |
166 | --> | |
167 | 성능상의 이유로, 커널 메모리 제한이 걸려있지 않다면 커널 메모리 사용량을 집계하지 않는다. | |
168 | 메모리 제한이 걸려있지 않다면, <command>lxc-top</command>는 커널 메모리 사용량을 0으로 표시한다. 만약 집계되는 컨테이너가 하나도 없다면, KMem 열은 표시되지 않는다. 메모리 제한은 | |
169 | <programlisting> | |
170 | lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable> | |
171 | </programlisting> | |
172 | 으로 컨테이너 설정파일에서 지정할 수 있다. | |
173 | <citerefentry> | |
174 | <refentrytitle>lxc.conf</refentrytitle> | |
175 | <manvolnum>5</manvolnum> | |
176 | </citerefentry> | |
177 | 를 참고하면 된다. | |
178 | </para> | |
179 | </refsect1> | |
180 | ||
181 | &seealso; | |
182 | ||
183 | <refsect1> | |
184 | <title><!-- Author -->저자</title> | |
185 | <para>Dwight Engen <email>dwight.engen@oracle.com</email></para> | |
186 | </refsect1> | |
187 | ||
188 | </refentry> | |
189 | ||
190 | <!-- Keep this comment at the end of the file | |
191 | Local variables: | |
192 | mode: sgml | |
193 | sgml-omittag:t | |
194 | sgml-shorttag:t | |
195 | sgml-minimize-attributes:nil | |
196 | sgml-always-quote-attributes:t | |
197 | sgml-indent-step:2 | |
198 | sgml-indent-data:t | |
199 | sgml-parent-document:nil | |
200 | sgml-default-dtd-file:nil | |
201 | sgml-exposed-tags:nil | |
202 | sgml-local-catalogs:nil | |
203 | sgml-local-ecat-files:nil | |
204 | End: | |
205 | --> |