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