]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Update Japanese lxc-top(1) for kernel memory accounting.
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 5 Nov 2013 06:33:39 +0000 (15:33 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 12 Nov 2013 21:04:57 +0000 (16:04 -0500)
Update for commit 2752ecec3232c231469a2ad8513a5527fef66fd6

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/ja/lxc-top.sgml.in

index 0f1ef649e686d71dfba80349eb17637667f5dfaa..ff3be5b4d4a788bed18f48651698a21a5ba16dd4 100644 (file)
@@ -62,11 +62,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     <para>
       <!--
       <command>lxc-top</command> displays container statistics. The output
-        is updated every <replaceable>delay</replaceable> seconds, and is
-        ordered according to the <replaceable>sortby</replaceable> value
-        given. Specifying <replaceable>count</replaceable> will limit the
-        number of containers displayed, otherwise <command>lxc-top</command>
-        will display as many containers as can fit in your terminal.
+      is updated every <replaceable>delay</replaceable> seconds, and is
+      ordered according to the <replaceable>sortby</replaceable> value
+      given. Specifying <replaceable>count</replaceable> will limit the
+      number of containers displayed, otherwise <command>lxc-top</command>
+      will display as many containers as can fit in your terminal.
       -->
       <command>lxc-top</command> はコンテナの統計情報を表示します.出力は <replaceable>delay</replaceable> 秒ごとに更新されます.そして,<replaceable>sortby</replaceable> で指定した値に従ってソートされます.<replaceable>count</replaceable> を指定すると表示するコンテナ数を制限しますが,指定しなければ使用しているターミナルに合うようなコンテナ数で表示します.
     </para>
@@ -116,10 +116,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
             <!--
             Sort the containers by name, cpu use, or memory use. The
             <replaceable>sortby</replaceable> argument should be one of
-            the letters n,c,d,m to sort by name, cpu use, disk I/O, or
-            memory use respectively. The default is 'n'.
+            the letters n,c,d,m,k to sort by name, cpu use, disk I/O, memory,
+            or kernel memory use respectively. The default is 'n'.
             -->
-            名前,CPU 使用量,メモリ使用量でコンテナをソートします.<replaceable>sortby</replaceable> で指定する引数は n,c,d,m のどれかでなければなりません.これはそれぞれ名前,CPU 使用量,disk I/O,メモリ使用量を表します.デフォルトは 'n' です.
+            名前,CPU 使用量,メモリ使用量でコンテナをソートします.<replaceable>sortby</replaceable> で指定する引数は n,c,d,m,k のどれかでなければなりません.これはそれぞれ名前,CPU 使用量,disk I/O,メモリ使用量,カーネルメモリ使用量を表します.デフォルトは 'n' です.
           </para>
         </listitem>
       </varlistentry>
@@ -158,6 +158,37 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     </variablelist>
   </refsect1>
 
+  <refsect1>
+    <title><!-- Notes -->注意</title>
+    <para>
+      <!--
+      For performance reasons the kernel does not account kernel memory use
+      unless a kernel memory limit is set. If a limit is not set, <command>
+      lxc-top</command> will display kernel memory use as 0. If no containers
+      are being accounted, the KMem column will not be displayed. A limit can
+      be set by specifying
+      <programlisting>
+      lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
+      </programlisting>
+      in your container configuration file, see
+      <citerefentry>
+        <refentrytitle>lxc.conf</refentrytitle>
+        <manvolnum>5</manvolnum>
+      </citerefentry>.
+      -->
+      パフォーマンスへの影響を考慮して,カーネルメモリの使用量は,カーネルメモリの制限値が設定されない限りはカウントされません.もし,制限が設定されていない場合,<command>lxc-top</command> はカーネルメモリの使用量を 0 と表示します.もし,カウントされているコンテナが存在しない場合,KMem カラムは表示されません.制限は
+      <programlisting>
+      lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
+      </programlisting>
+      のように,コンテナの設定ファイルで指定することができます.詳しくは,
+      <citerefentry>
+        <refentrytitle>lxc.conf</refentrytitle>
+        <manvolnum>5</manvolnum>
+      </citerefentry>
+      を参照してください.
+    </para>
+  </refsect1>
+
   &seealso;
 
   <refsect1>