Debian Codegraph @

doc/ja/lxc-top.sgml.in

raw
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' を入力すると終了します。ソートのキーとなる文字を入力するとその統計値でソートします。ソートのキーとなる文字を 2 度入力するとソート順が逆になります。
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 表示を更新する間隔を秒で指定します。デフォルトは 3 秒です。
70 </para>
71 </listitem>
72 </varlistentry>
73 <varlistentry>
74 <term>
75 <option>-s, --sort <replaceable>sortby</replaceable></option>
76 </term>
77 <listitem>
78 <para>
79 <!--
80 Sort the containers by name, cpu use, or memory use. The
81 <replaceable>sortby</replaceable> argument should be one of
82 the letters n,c,b,m,k to sort by name, cpu use, block I/O, memory,
83 or kernel memory use respectively. The default is 'n'.
84 -->
85 名前、CPU 使用量、メモリ使用量でコンテナをソートします。<replaceable>sortby</replaceable> で指定する引数は n,c,b,m,k のどれかでなければなりません。
86 これはそれぞれ名前、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 と表示します。
145 もし、カウントされているコンテナが存在しない場合、KMem カラムは表示されません。制限は
146 <programlisting>
147 lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
148 </programlisting>
149 のように、コンテナの設定ファイルで指定することができます。詳しくは、
150 <citerefentry>
151 <refentrytitle>lxc.conf</refentrytitle>
152 <manvolnum>5</manvolnum>
153 </citerefentry>
154 を参照してください。
155 </para>
156 </refsect1>
157
158 &seealso;
159
160 </refentry>
161
162 <!-- Keep this comment at the end of the file
163 Local variables:
164 mode: sgml
165 sgml-omittag:t
166 sgml-shorttag:t
167 sgml-minimize-attributes:nil
168 sgml-always-quote-attributes:t
169 sgml-indent-step:2
170 sgml-indent-data:t
171 sgml-parent-document:nil
172 sgml-default-dtd-file:nil
173 sgml-exposed-tags:nil
174 sgml-local-catalogs:nil
175 sgml-local-ecat-files:nil
176 End:
177 -->