Commit 57da8c32 by KATOH Yasufumi Committed by Stéphane Graber

Add Japanese man pages.

Japanese man pages is installed under $mandir/ja. At this time, it is based on version 0.9.0.
parent 4213373f
...@@ -432,6 +432,40 @@ AC_CONFIG_FILES([ ...@@ -432,6 +432,40 @@ AC_CONFIG_FILES([
doc/examples/lxc-veth.conf doc/examples/lxc-veth.conf
doc/examples/lxc-complex.conf doc/examples/lxc-complex.conf
doc/ja/Makefile
doc/ja/legacy/lxc-ls.sgml
doc/ja/lxc-attach.sgml
doc/ja/lxc-cgroup.sgml
doc/ja/lxc-checkconfig.sgml
doc/ja/lxc-checkpoint.sgml
doc/ja/lxc-clone.sgml
doc/ja/lxc-console.sgml
doc/ja/lxc-create.sgml
doc/ja/lxc-destroy.sgml
doc/ja/lxc-device.sgml
doc/ja/lxc-execute.sgml
doc/ja/lxc-freeze.sgml
doc/ja/lxc-info.sgml
doc/ja/lxc-kill.sgml
doc/ja/lxc-ls.sgml
doc/ja/lxc-monitor.sgml
doc/ja/lxc-netstat.sgml
doc/ja/lxc-ps.sgml
doc/ja/lxc-restart.sgml
doc/ja/lxc-start-ephemeral.sgml
doc/ja/lxc-start.sgml
doc/ja/lxc-stop.sgml
doc/ja/lxc-top.sgml
doc/ja/lxc-unfreeze.sgml
doc/ja/lxc-unshare.sgml
doc/ja/lxc-version.sgml
doc/ja/lxc-wait.sgml
doc/ja/lxc.conf.sgml
doc/ja/lxc.sgml
doc/ja/common_options.sgml
doc/ja/see_also.sgml
hooks/Makefile hooks/Makefile
templates/Makefile templates/Makefile
......
SUBDIRS = examples rootfs SUBDIRS = examples rootfs ja
DIST_SUBDIRS = examples rootfs DIST_SUBDIRS = examples rootfs ja
EXTRA_DIST = \ EXTRA_DIST = \
FAQ.txt FAQ.txt
......
Troubleshooting:
===============
Error:
------
error while loading shared libraries reported after sudo make install
and when trying to run lxc-execute.
"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
/usr/local/bin/lxc-execute: error while loading shared libraries:
liblxc-0.5.0.so: cannot open shared object file: No such file or
directory
Answer:
-------
update the ld cache by running ldconfig.
Error:
------
error when starting a container.
"lxc-start Invalid argument"
"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
"[syserr] lxc_start:96: Invalid argument - failed to fork into a new
namespace"
Answer:
-------
read the lxc man page about kernel version prereq :) most probably
your kernel is not configured to support the container options you
want to use.
Error:
------
On Ubuntu 8.10, if using the cvs source code rather than
the provided tarball. Then make is failing with many errors
similar to the line below:
==========
../../libtool: line 810: X--tag=CC: command not found
==========
Answer:
-------
This is related to a compatibility problem between the shipped
config/ltmain.sh and the libtool version installed on your
Ubuntu 8.10 machine.
You have to replace the config/ltmain.sh from cvs head by the one
from your libtool package, make some cleaning and reissue all
the build process:
==========
cd <your_lxc_working_dir>
cp -f /usr/share/libtool/config/ltmain.sh config/
rm -f libtool
./bootstrap && ./configure && make && sudo make install
==========
mandir = @mandir@/ja
SUBDIRS =
DIST_SUBDIRS =
EXTRA_DIST = \
FAQ.txt
if ENABLE_DOCBOOK
man_MANS = \
lxc-attach.1 \
lxc-cgroup.1 \
lxc-checkconfig.1 \
lxc-checkpoint.1 \
lxc-clone.1 \
lxc-console.1 \
lxc-create.1 \
lxc-destroy.1 \
lxc-execute.1 \
lxc-freeze.1 \
lxc-info.1 \
lxc-kill.1 \
lxc-monitor.1 \
lxc-netstat.1 \
lxc-ps.1 \
lxc-restart.1 \
lxc-start.1 \
lxc-stop.1 \
lxc-unfreeze.1 \
lxc-unshare.1 \
lxc-version.1 \
lxc-wait.1 \
\
lxc.conf.5 \
\
lxc.7
if ENABLE_PYTHON
man_MANS += lxc-device.1
man_MANS += lxc-ls.1
man_MANS += lxc-start-ephemeral.1
else
man_MANS += legacy/lxc-ls.1
endif
if ENABLE_LUA
man_MANS += lxc-top.1
endif
%.1 : %.sgml
$(db2xman) --encoding=UTF-8 $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
%.5 : %.sgml
$(db2xman) --encoding=UTF-8 $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
%.7 : %.sgml
$(db2xman) --encoding=UTF-8 $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
lxc-%.sgml : common_options.sgml see_also.sgml
clean-local:
$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
endif
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <dlezcano at fr.ibm.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<refsect1>
<title><!-- Common Options -->共通オプション</title>
<para>
<!--
These options are common to most of lxc commands.
-->
ここで紹介するオプションは lxc コマンドの大部分で共通のものです.
</para>
<variablelist>
<varlistentry>
<term><option>-?, -h, --help</option></term>
<listitem>
<para>
<!--
Print a longer usage message than normal.
-->
通常より長い使い方のメッセージを表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--usage</option></term>
<listitem>
<para>
<!--
Give the usage message
-->
使い方を表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-q, --quiet</option></term>
<listitem>
<para>
<!--
mute on
-->
出力を抑制します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
<listitem>
<para>
<!--
Use an alternate container path. The default is @LXCPATH@.
-->
デフォルトと別のコンテナパスを使用します.デフォルトは @LXCPATH@ です.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o, --logfile=<replaceable>FILE</replaceable></option></term>
<listitem>
<para>
<!--
Output to an alternate log
<replaceable>FILE</replaceable>. The default is no log.
-->
追加のログを <replaceable>FILE</replaceable> に出力します.デフォルトは出力しません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-l, --logpriority=<replaceable>LEVEL</replaceable></option></term>
<listitem>
<para>
<!--
Set log priority to
<replaceable>LEVEL</replaceable>. The default log
priority is <literal>ERROR</literal>. Possible values are :
<literal>FATAL</literal>, <literal>CRIT</literal>,
<literal>WARN</literal>, <literal>ERROR</literal>,
<literal>NOTICE</literal>, <literal>INFO</literal>,
<literal>DEBUG</literal>.
-->
ログの優先度を <replaceable>LEVEL</replaceable> に設定します.デフォルトの優先度は <literal>ERROR</literal> です.以下の値を設定可能です:
<literal>FATAL</literal>, <literal>CRIT</literal>,
<literal>WARN</literal>, <literal>ERROR</literal>,
<literal>NOTICE</literal>, <literal>INFO</literal>,
<literal>DEBUG</literal>.
</para>
<para>
<!--
Note that this option is setting the priority of the events
log in the alternate log file. It do not have effect on the
ERROR events log on stderr.
-->
このオプションは追加のログファイルへのイベントログの優先度の設定である事に注意してください.stderr への ERROR イベントのログには影響しません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-n, --name=<replaceable>NAME</replaceable></option></term>
<listitem>
<para>
<!--
Use container identifier <replaceable>NAME</replaceable>.
The container identifier format is an alphanumeric string.
-->
<replaceable>NAME</replaceable> という名前でコンテナを識別します.コンテナ識別子のフォーマットは英数字の文字列です.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <dlezcano at fr.ibm.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/../see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-ls</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-ls</refname>
<refpurpose>
<!--
list the containers existing on the system
-->
システム上に存在するコンテナをリスト表示する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-ls</command>
<arg choice="opt">--active</arg>
<arg choice="opt">ls option</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-ls</command> list the containers existing on the
system.
-->
<command>lxc-ls</command> はシステム上に存在するコンテナをリスト表示します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option><optional>--active</optional></option>
</term>
<listitem>
<para>
<!--
List active containers.
-->
稼働中のコンテナをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>ls options</optional></option>
</term>
<listitem>
<para>
<!--
The option passed to <command>lxc-ls</command> are the
same as the <command>ls</command> command.
-->
<command>lxc-ls</command> が受け付けるオプションは,<command>ls</command> コマンドと同じです.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-ls -l</term>
<listitem>
<para>
<!--
list all the container and their permissions.
-->
全てのコンテナとそのパーミッションをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-ls --active -1</term>
<listitem>
<para>
<!--
list active containers and display the list in one column.
-->
稼働中のコンテナを一列にリスト表示します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>ls</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
</simpara>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-cgroup</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-cgroup</refname>
<refpurpose>
<!--
manage the control group associated with a container
-->
コンテナに関係する control group の管理
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-cgroup</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="req"><replaceable>state-object</replaceable></arg>
<arg choice="opt">value</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-cgroup</command> gets or sets the value of a
<replaceable>state-object</replaceable> (e.g., 'cpuset.cpus')
in the container's cgroup for the corresponding subsystem (e.g.,
'cpuset'). If no <optional>value</optional> is specified, the
current value of the <replaceable>state-object</replaceable> is
displayed; otherwise it is set.
-->
<command>lxc-cgroup</command> は,コンテナの cgroup の一致するサブシステム (例えば 'cpuset') の <replaceable>state-object</replaceable> (例えば 'cpuset.cpus') の値を取得したり,値を設定したりします.もし <optional>value</optional> が指定されないときは,<replaceable>state-object</replaceable> の値を表示します.指定されている場合は値を設定します.
</para>
<para>
<!--
Note that <command>lxc-cgroup</command> does not check that the
<replaceable>state-object</replaceable> is valid for the running
kernel, or that the corresponding subsystem is contained in any
mounted cgroup hierarchy.
-->
<command>lxc-cgroup</command> は <replaceable>state-object</replaceable> が実行中のカーネルで有効かどうかのチェックを行いません.また,一致するサブシステムがマウントされた cgroup の階層構造に含まれているかどうかのチェックを行いません.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option><replaceable>state-object</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify the state object name.
-->
(cgroup の) 状態オブジェクト (state object) 名を指定します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>value</optional></option>
</term>
<listitem>
<para>
<!--
Specify the value to assign to the state object.
-->
(cgroup の) 状態オブジェクト (state object) に設定する値を指定します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-cgroup -n foo devices.list</term>
<listitem>
<para>
<!--
display the allowed devices to be used.
-->
使用が許可されているデバイスを表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-cgroup -n foo cpuset.cpus "0,3"</term>
<listitem>
<para>
<!--
assign the processors 0 and 3 to the container.
-->
コンテナにプロセッサ番号 0 と 3 のプロセッサを割り当てます.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The container is not running.
-->
コンテナが実行されていません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
(C) Copyright Canonical Ltd. 2013
Authors:
St辿phane Graber <stgraber@ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-checkconfig</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-checkconfig</refname>
<refpurpose>
<!--
check the current kernel for lxc support
-->
現在のカーネルが lxc に必要な機能をサポートしているかをチェックする
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-checkconfig</command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-checkconfig</command> check the current kernel for
lxc support
-->
<command>lxc-checkconfig</command> は,現在のカーネルが lxc に必要な機能をサポートしているかをチェックします.
</para>
</refsect1>
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-checkconfig</term>
<listitem>
<para>
<!--
check the current kernel.
CONFIG can be set in the environment to an alternate location.
-->
現在のカーネルをチェックします.CONFIG 環境変数に別の場所を設定することも可能です.(訳注: カーネルビルド時の設定オプションのファイルの位置を指定します.デフォルトは /proc/config.gz です.)
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-checkpoint</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>IBM</refmiscinfo>
</refmeta>
<refnamediv>
<refname>lxc-checkpoint</refname>
<refpurpose>
<!--
checkpoint a running container (not implemented yet)
-->
実行中のコンテナのチェックポイントを作成する (未実装)
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-checkpoint</command>
<arg choice="req">--statefile=<replaceable>FILE</replaceable></arg>
<arg choice="req">--statefd=<replaceable>FD</replaceable></arg>
<arg choice="req">--name=<replaceable>NAME</replaceable></arg>
<arg><option>-k</option>|<option>-p</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
<!--
<command>lxc-checkpoint</command> is a command
to checkpoint the specified container
<replaceable>NAME</replaceable> and dumps its state into the file
<replaceable>FILE</replaceable>. If the
option <option>&#045;&#045;kill</option> is specified, the application
running in the container will terminate after the checkpoint
just before resuming its execution. If the
option <option>&#045;&#045;pause</option> is specified, the application
will be stopped after the checkpoint just before resuming
execution. The command <command>lxc-unfreeze</command> will
resume its execution.
-->
<command>lxc-checkpoint</command> は,<replaceable>NAME</replaceable> 指定したコンテナのチェックポイントを作成し,その状態を <replaceable>FILE</replaceable> で指定したファイルにダンプします.<option>--kill</option> が指定された場合,チェックポイントの取得後,コンテナ内で実行されているアプリケーションは,実行が再開する直前に終了します.<option>--pause</option> が指定された場合,チェックポイントの取得後,コンテナ内で実行されているアプリケーションは,実行が再開する直前に休止します.<command>lxc-unfreeze</command> コマンドで,実行を再開させます.
</para>
</refsect1>
<refsect1>
<title><!-- Checkpoint Options -->チェックポイントのオプション</title>
<variablelist>
<varlistentry>
<term><option>-S, --statefile=<replaceable>FILE</replaceable></option></term>
<listitem>
<para>
<!--
write the state of the container in this
<replaceable>FILE</replaceable>.
This option is exclusive with <option>&#045;&#045;statefd</option> below.
-->
コンテナの実行状態を <replaceable>FILE</replaceable> に書き込みます.このオプションは以下の <option>--statefd</option> と同時に指定できません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d, --statefd=<replaceable>FD</replaceable></option></term>
<listitem>
<para>
<!--
write the state of the container in this
<replaceable>FD</replaceable> file descriptor.
This option is exclusive with above <option>&#045;&#045;statefile</option>.
-->
コンテナの実行状態を指定した <replaceable>FD</replaceable> ファイルディスクリプタに書き込みます.このオプションは前述の <option>--statefile</option> と同時に指定出来ません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-k,--kill</option></term>
<listitem>
<para>
<!--
Kill container processes after checkpoint. the processes are sent
a <literal>SIGKILL</literal> signal.
-->
チェックポイントを取得した後,コンテナプロセスを kill します.プロセスには <literal>SIGKILL</literal> シグナルが送られます.
</para>
<para>
<!--
This option is mutually exclusive with the following
<option>&#045;&#045;pause</option> option.
-->
このオプションは以下の <option>--pause</option> オプションと同時に指定することはできません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-p,--pause</option></term>
<listitem>
<para>
<!--
Pause container processes after checkpoint. The container
will be stopped until you resume it. This option is
mutually exclusive with previously mentionned
<option>&#045;&#045;kill</option> option.
-->
チェックポイントを取得した後,コンテナプロセスを休止させます.コンテナを再開させるまで止まったままとなります.このオプションは前述の <option>--kill</option> オプションと同時に指定することはできません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Examples -->例</title>
<para>
<!--
To start a new container <literal>123</literal> computing decimals of pi
-->
円周率の小数点以下を計算する新しいコンテナを起動させるために,以下を実行します.
</para>
<programlisting>
lxc-execute -n 123 -- pi1 -d 500000
lxc-execute --name=123 -- pi1 -d 500000
</programlisting>
<para>
<!--
to checkpoint the same container in <emphasis>dump-death</emphasis>
mode
-->
<emphasis>ダンプ後終了する</emphasis>モードで,そのコンテナのチェックポイントを取得します.
</para>
<programlisting>
lxc-checkpoint -n 123 -S /share/123/chkpt1 -k
lxc-checkpoint --name=123 -S /share/123/chkpt1 -k
</programlisting>
<para>
<!--
to checkpoint the same container and <emphasis>pause</emphasis> it
-->
同じコンテナのチェックポイントを取得し,<emphasis>休止</emphasis>させます.
</para>
<programlisting>
lxc-checkpoint -n 123 -S /share/123/chkpt1 -p
lxc-checkpoint --name=123 -S /share/123/chkpt1 -p
</programlisting>
</refsect1>
<refsect1>
<title><!-- Notes -->注意</title>
<!--
<para>Actually, this command does not operate. Its description
helps to define a CLI api for future Checkpoint / Restart
solution</para>
-->
実際はこのコマンドは動作しません.この説明は将来的なチェックポイント/再起動機能の解決策となる CLI API を定義するのを助けるためのものです.
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
Serge Hallyn <serge.hallyn at ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-clone</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-clone</refname>
<refpurpose>
<!--
clone a new container from an existing one.
-->
新しいコンテナを存在するコンテナからクローンする.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-clone</command>
<arg choice="req">-o <replaceable>orig</replaceable></arg>
<arg choice="req">-n <replaceable>new</replaceable></arg>
<arg choice="opt">-s </arg>
<arg choice="opt">-L <replaceable>fssize</replaceable></arg>
<arg choice="opt">-v <replaceable>vgname</replaceable></arg>
<arg choice="opt">-p <replaceable>lxc_lv_prefix</replaceable></arg>
<arg choice="opt">-t <replaceable>fstype</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-clone</command> Creates a new container as a copy of an existing
container. When the original container's rootfs is an LVM block device or
is on a btrfs filesystem, then a snapshotted clone can be created, taking up
very little initial disk space.
-->
<command>lxc-clone</command> は,新しいコンテナを既に存在するコンテナのコピーとして作製する.元のコンテナの rootfs が LVM ブロックデバイスか btrfs 上にある場合は,非常に少ないディスクスペースで済むスナップショットによりクローンを作製する.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-o, --orig <replaceable>orig</replaceable></option>
</term>
<listitem>
<para>
<!--
The name of the original container to clone.
-->
クローン元のコンテナの名前.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-n, --new <replaceable>new</replaceable></option>
</term>
<listitem>
<para>
<!--
The name of the new container to create.
-->
新しく作製するコンテナの名前.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s, --snapshot</option>
</term>
<listitem>
<para>
<!--
The new container's rootfs should be a LVM or btrfs snapshot of the original.
-->
新しいコンテナの rootfs を,元のコンテナの LVM もしくは btrfs のスナップショットとする.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-L, --fssize <replaceable>fssize</replaceable></option>
</term>
<listitem>
<para>
<!--
In the case of a LVM-backed container, a size for the new
block device. By default, the new device will be made the
same size as the original.
-->
LVM 上のコンテナの場合の新しいブロックデバイスのサイズ.デフォルトでは,新しいデバイスは元のデバイスと同じサイズとなる.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-v, --vgname <replaceable>vgname</replaceable></option>
</term>
<listitem>
<para>
<!--
For an LVM-backed container, the volume group name to use. By
default it is 'lxc'.
-->
LVM 上のコンテナに対して使用するボリュームグループの名前.デフォルトは 'lxc' である.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-p, --lvprefix <replaceable>lxc_lv_prefix</replaceable></option>
</term>
<listitem>
<para>
<!--
For an LVM-backed container, a string to prefix to the container name to
form the logical volume name. For instance, specifying
<command>-n c1 -p lxc_</command> will cause the container rootfs to
be on a logical volume called <replaceable>lxc_c1</replaceable>.
-->
LVM 上のコンテナで,論理ボリューム名を生成するためにコンテナ名の前に付与するプレフィックス.例えば <command>-n c1 -p lxc_</command> と指定すると,コンテナの rootfs は,論理ボリューム名 <replaceable>lxc_c1</replaceable> という論理ボリューム上に作製される.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-t, --fstype <replaceable>fstype</replaceable></option>
</term>
<listitem>
<para>
<!--
For a non-snapshot LVM clone, the file system to use for the new
container. Note this option is ignored when requesting a
snapshotted container.
-->
LVM スナップショットで作製しないクローンで,新しいコンテナで使用するファイルシステム.このオプションはスナップショットで作製する場合は無視される.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Serge Hallyn <email>serge.hallyn@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-console</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-console</refname>
<refpurpose>
<!--
Launch a console for the specified container
-->
指定されたコンテナのコンソールの起動
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-console</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-e <replaceable>escape character</replaceable></arg>
<arg choice="opt">-t <replaceable>ttynum</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
If the tty service has been configured and is available for the
container specified as parameter, this command will launch a
console allowing to log on the container.
-->
パラメータで指定されたコンテナで tty サービスが設定され,利用可能である場合,このコマンドはコンテナにログイン出来るコンソールを起動します.
</para>
<para>
<!--
The available tty are free slots taken by this command. That
means if the container has four ttys available and the command
has been launched four times each taking a different tty, the
fifth command will fail because no console will be available.
-->
利用可能な tty は,このコマンドが取得した空いている tty です.これは,コンテナに 4 つの利用可能な tty がある場合,コマンドは 4 個までそれぞれ異なる tty を取得して開きます.5 回目のコマンドは利用可能なコンソールがないため,失敗します.
</para>
<para>
<!--
The command will connect to a tty. If the connection is lost or
broken, the command can be launched again and regain the tty at
the state it was before the disconnection.
-->
コマンドは tty に接続します.もし,接続が失われたり,切断された場合,コマンドは再度起動し,切断前の状態で tty の再取得をしようとします.
</para>
<para>
<!--
A keyboard escape sequence may be used to disconnect from the tty
and quit lxc-console. The default escape sequence is &lt;Ctrl+a q&gt;.
-->
tty からの接続を切断し,lxc-console を抜ける時に,キーボードのエスケープシーケンスを使います.デフォルトのエスケープシーケンスは &lt;Ctrl+a q&gt; です.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-e <optional><replaceable>escape character</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
Specify the escape sequence prefix to use instead of
&lt;Ctrl a&gt;.
This may be given as '^letter' or just 'letter'. For example
to use &lt;Ctrl+b q&gt; as the escape sequence use -e '^b'.
-->
&lt;Ctrl a&gt; の代わりに使用するエスケープシーケンスのプレフィックスを指定します.これは '^文字' または単なる '文字' で指定します.例えば,&lt;Ctrl+b q&gt; をエスケープシーケンスとして使うには -e '^b' とします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-t <optional><replaceable>ttynum</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
Specify the tty number to connect, if not specified a tty
number will be automatically choosen by the container.
-->
接続する tty の番号を指定します.指定しない場合は,コンテナが自動的に tty 番号を選択します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>tty service denied</term>
<listitem>
<para>
<!--
No tty is available or there is not enough privilege to
use the console. For example, the container belongs to
user "foo" and "bar" is trying to open a console to it.
-->
利用可能な tty がないか,コンソールを使うのに十分な権限がありません.例えば,コンテナが "foo" ユーザの所有であるのに,"bar" ユーザがコンソールを開こうとしている場合などです.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-destroy</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-destroy</refname>
<refpurpose>
<!--
destroy a container.
-->
コンテナを破壊します.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-destroy</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-f</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
<!--
<command>lxc-destroy</command> destroys the system object
previously created by the <command>lxc-create</command> command.
-->
<command>lxc-destroy</command> は,<command>lxc-create</command> で以前に作成したシステムオブジェクトを破壊します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-f</option>
</term>
<listitem>
<para>
<!--
If a container is running, stop it first. If this option is
not specified and the container is running, then
<command>lxc-destroy</command> will be aborted.
-->
コンテナが実行中の場合,まずコンテナを停止させます.このオプションが指定されていない場合でコンテナが実行中の場合,<command>lxc-destroy</command> コマンドは実行を中断します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
<listitem>
<para>
<!--
Use an alternate container path. The default is @LXCPATH@.
-->
コンテナパスを指定します.デフォルトは @LXCPATH@ です.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The specified container for destruction was not found. It
is probable it does not exists and was already
destroyed.You can use the <command>lxc-ls -l</command>
command to list the available containers on the system.
-->
破壊するために指定したコンテナが見つかりません.おそらくそのコンテナが存在しないのか,既に破壊された後なのでしょう.<command>lxc-ls -l</command> コマンドを使って,システム上に存在するコンテナのリストを得ることができます.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
(C) Copyright Canonical Ltd. 2013
Authors:
St辿phane Graber <stgraber@ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-device</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-device</refname>
<refpurpose>
<!--
manage deices of running containers
-->
実行中のコンテナのデバイスを管理する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-device</command>
<arg choice="opt">-h</arg>
<arg choice="opt">-n <replaceable>name</replaceable></arg>
<arg choice="opt">add</arg>
<arg choice="opt">DEVICE</arg>
<arg choice="opt">NAME</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-device</command> manages devices in running container.
-->
<command>lxc-device</command> は実行中のコンテナのデバイスを管理します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option><optional>-h</optional></option>
</term>
<listitem>
<para>
<!--
The full command help message.
-->
コマンドのヘルプを表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-n</option>
</term>
<listitem>
<para>
<!--
The name of the target container.
-->
対象のコンテナの名前
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>action</option>
</term>
<listitem>
<para>
<!--
What action to perform. Only 'add' is supported at this point.
-->
実行するアクション.現時点では 'add' のみ指定できます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>DEVICE</option>
</term>
<listitem>
<para>
<!--
The device to add to the container.
It can either be the path to a device under /dev or a network
interface name.
-->
コンテナに追加するデバイス.
/dev 以下のデバイスのパスかネットワークインターフェース名を指定できます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>NAME</optional></option>
</term>
<listitem>
<para>
<!--
Name for the device within the container.
-->
コンテナ内でのデバイスの名前
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-device -n p1 add /dev/video0</term>
<listitem>
<para>
<!--
Creates a /dev/video0 device in container p1 based on the matching
device on the host.
-->
コンテナ p1 内に,ホスト上でマッチするデバイスに基づいて /dev/video0 デバイスを作製します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-device -n p1 add eth0 eth1</term>
<listitem>
<para>
<!--
Moves eth0 from the host as eth1 in p1.
-->
eth0 をホストから p1 内の eth1 に移動します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-execute</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-execute</refname>
<refpurpose>
<!--
run an application inside a container.
-->
コンテナ内でアプリケーションを実行する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-execute</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="opt">-- <replaceable>command</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-execute</command> runs the specified
<replaceable>command</replaceable> inside the container
specified by <replaceable>name</replaceable>.
-->
<command>lxc-execute</command> は特定の <replaceable>command</replaceable> を,<replaceable>name</replaceable> で指定したコンテナ内で実行します.
</para>
<para>
<!--
It will setup the container
according to the configuration previously defined with the
lxc-create command or with the configuration file parameter.
If no configuration is
defined, the default isolation is used.
-->
このコマンドは,lxc-create コマンドであらかじめ定義した設定,もしくはパラメータとして与えた設定ファイルを元にコンテナをセットアップします.もし設定が定義されていない場合,デフォルトの隔離を使用します.
</para>
<para>
<!--
This command is mainly used when you want to quickly launch an
application in an isolated environment.
-->
このコマンドは主に,素早く単一のアプリケーションを隔離された環境で動作させたい時に使います.
</para>
<para>
<!--
<command>lxc-execute</command> command will run the
specified command into the container via an intermediate
process, <command>lxc-init</command>.
This lxc-init after launching the specified command,
will wait for its end and all other reparented processes.
(that allows to support daemons in the container).
In other words, in the
container, <command>lxc-init</command> has the pid 1 and the
first process of the application has the pid 2.
-->
<command>lxc-execute</command> は,<command>lxc-init</command> を間にはさんで,コンテナ内で特定のコマンドを実行します.lxc-init は,指定されたコマンドが実行された後は,そのコマンドの終了と,そのコマンドから生成された全てのプロセスの終了を待ちます (これにより,コンテナ内でデーモンのサポートが可能になります).言いかえると,コンテナ内では <command>lxc-init</command> が pid 1 となり,アプリケーションの最初のプロセスの pid が 2 となります.
</para>
<para>
<!--
The above <command>lxc-init</command> is designed to forward received
signals to the started command.
So <command>lxc-kill</command> (1) sent signal is received
by the user specified command (pid 2 in the container).
-->
前述の <command>lxc-init</command> は,受け取ったシグナルを開始したコマンドに送るように設計されています.なので,<command>lxc-kill</command> (1) が送ったシグナルは,ユーザが指定したコマンド (コンテナ内の pid 2 のプロセス) が受けとります.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-f, --rcfile <replaceable>config_file</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify the configuration file to configure the virtualization
and isolation functionalities for the container.
-->
コンテナに設定したい仮想化および隔離機能の設定を行う設定ファイルを指定します.
</para>
<para>
<!--
This configuration file if present will be used even if there is
already a configuration file present in the previously created
container (via lxc-create).
-->
もしコンテナ作成前に (lxc-create によって) あらかじめ設定ファイルが指定されている場合であっても,指定した設定ファイルが使われます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s, --define <replaceable>KEY=VAL</replaceable></option>
</term>
<listitem>
<para>
<!--
Assign value <replaceable>VAL</replaceable> to configuration
variable <replaceable>KEY</replaceable>. This overrides any
assignment done in <replaceable>config_file</replaceable>.
-->
設定変数 <replaceable>KEY</replaceable> の値を <replaceable>VAL</replaceable> に設定します.この設定は <replaceable>config_file</replaceable> で設定された値を上書きします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--</option></term>
<listitem>
<para>
<!--
Signal the end of options and disables further option
processing. Any arguments after the &#045;&#045; are treated as
arguments.
-->
オプション指定の最後の印で,それ以上のオプションの処理を止めます.-- の後の引数は実行するコマンドとその引数として扱われます.
</para>
<para>
<!--
This option is useful when you want to execute, with the
command <command>lxc-execute</command>, a command line
with its own options.
-->
このオプションは,<command>lxc-execute</command> で実行するコマンドが,コマンドラインオプションを持つ場合に役に立ちます.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container is busy</term>
<listitem>
<para>
<!--
The specified container is already running an
application. You should stop it before reuse this
container or create a new one.
-->
指定したコンテナが既にアプリケーションを実行中の場合.コンテナを再使用したり,新しく作成する前にコンテナを止める必要があります.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-freeze</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-freeze</refname>
<refpurpose>
<!--
freeze all the container's processes
-->
コンテナのプロセスを全て凍結します.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-freeze</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-freeze</command> freezes all the processes running
inside the container. The processes will be blocked until they
are explicitly thawed by the <command>lxc-unfreeze</command>
command. This command is useful for batch managers to schedule a
group of processes.
-->
<command>lxc-freeze</command> は,コンテナ内部で実行中のプロセスを全て凍結します.プロセスは <command>lxc-unfreeze</command> コマンドによって明示的に解凍されるまでブロックされます.このコマンドはプロセスのグループをスケジューリングするバッチマネージャに便利なコマンドです.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The specified container was not created before with
the <command>lxc-create</command> command.
-->
指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
(C) Copyright Canonical Ltd. 2013
Authors:
St辿phane Graber <stgraber@ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-info</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-info</refname>
<refpurpose>
<!--
query information about a container
-->
コンテナに関する情報を問い合わせる
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-info</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="req">-s</arg>
<arg choice="req">-p</arg>
<arg choice="req">-t <replaceable>state</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-info</command> queries and shows information about a
container.
-->
<command>lxc-info</command> は,コンテナに関する情報を問い合わせ,表示します.
</para>
</refsect1>
<refsect1>
<title><!-- Options --></title>
<variablelist>
<varlistentry>
<term>
<option>-n <replaceable>name</replaceable></option>
</term>
<listitem>
<para>
<!--
The container name.
-->
コンテナ名
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-s</optional></option>
</term>
<listitem>
<para>
<!--
Just print the container's state.
-->
コンテナの状態のみを表示する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-p</optional></option>
</term>
<listitem>
<para>
<!--
Just print the container's pid.
-->
コンテナの pid のみを表示する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-t <replaceable>state</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
Check whether the container is in the provided state.
-->
コンテナが指定した状態かどうかをチェックする.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-info -n foo</term>
<listitem>
<para>
<!--
Show information for foo.
-->
foo という名前のコンテナの情報を表示する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-info -n foo -t RUNNING</term>
<listitem>
<para>
<!--
exits 0 if foo is RUNNING, 1 otherwise.
-->
もしコンテナ foo が RUNNING であれば 0 を返す.それ以外は 1 を返す.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-kill</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>IBM</refmiscinfo>
</refmeta>
<refnamediv>
<refname>lxc-kill</refname>
<refpurpose>
<!--
Send a signal to the process 1 of the container.
-->
コンテナの最初のプロセスにシグナルを送る.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-kill</command>
<arg choice="req">--name=<replaceable>NAME</replaceable></arg>
<arg choice="req"><replaceable>SIGNUM</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
<!--
<command>lxc-kill</command> send
the <replaceable>SIGNUM</replaceable> signal to the first process of the container.
-->
<command>lxc-kill</command> は,<replaceable>SIGNUM</replaceable> で指定されたシグナルをコンテナの最初のプロセスに送ります.
</para>
<para>
<!--
The <replaceable>SIGNUM</replaceable> is a numeric value,
the signal name is not supported.
-->
<replaceable>SIGNUM</replaceable> は数値で,シグナル名はサポートしていません.
</para>
<para>
<!--
If this command is used on an application container ran by
lxc-execute, the lxc-init will receive the signal and will forward it to
the process 2 which is the command specified in the command line. See
lxc-execute (1).
Obviously the SIGKILL and SIGSTOP signals are not able to be forwarded,
(as per the signal(7) man page).
-->
このコマンドが lxc-execute で起動したアプリケーションコンテナに対して使われた場合,lxc-init がシグナルを受け取り,(lxc-execute の) コマンドラインで指定されたコマンドである 2 番目のプロセスにそれを転送します.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Examples -->例</title>
<para>
<!--
To send the signal 26 to the process pi1 running in container
<literal>123</literal> :
-->
コンテナ名 <literal>123</literal> で実行されているプロセス pi1 に対して 26 のシグナルを送るためには:
</para>
<programlisting>
lxc-execute -n 123 -- pi1 -d 500000
lxc-kill --name=123 26
</programlisting>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-ls</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-ls</refname>
<refpurpose>
<!--
list the containers existing on the system
-->
システム上に存在するコンテナをリスト表示する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-ls</command>
<arg choice="opt">-1</arg>
<arg choice="opt">--active</arg>
<arg choice="opt">--frozen</arg>
<arg choice="opt">--running</arg>
<arg choice="opt">--stopped</arg>
<arg choice="opt">--fancy</arg>
<arg choice="opt">--fancy-format</arg>
<arg choice="opt">--nesting</arg>
<arg choice="opt">filter</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-ls</command> list the containers existing on the
system.
-->
<command>lxc-ls</command> はシステム上に存在するコンテナをリスト表示します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option><optional>-1</optional></option>
</term>
<listitem>
<para>
<!--
Show one entry per line. (default when /dev/stdout isn't a tty)
-->
1 行に 1 エントリ表示します.(/dev/stdout が tty でない場合のデフォルト)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--active</optional></option>
</term>
<listitem>
<para>
<!--
List only active containers (same as &#045;&#045;frozen &#045;&#045;running).
-->
アクティブなコンテナのみリスト表示します.(--frozen --running と同じです)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--frozen</optional></option>
</term>
<listitem>
<para>
<!--
List only frozen containers.
-->
凍結 (frozen) 状態のコンテナのみをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--running</optional></option>
</term>
<listitem>
<para>
<!--
List only running containers.
-->
実行 (running) 状態のコンテナのみをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--stopped</optional></option>
</term>
<listitem>
<para>
<!--
List only stopped containers.
-->
停止状態のコンテナのみをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--fancy</optional></option>
</term>
<listitem>
<para>
<!--
Use a fancy, column-based output.
-->
装飾付きのカラムベースの出力を使用します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--fancy-format</optional></option>
</term>
<listitem>
<para>
<!--
Comma separate list of column to show in the fancy output.
Valid values are: name, state, ipv4, ipv6 and pid
Default is: name,state,ipv4,ipv6
-->
装飾付き出力で表示するカラムのコンマ区切りのリスト.
有効な値は name,state,ipv4,ipv6,pid.
デフォルトは name,state,ipv4,ipv6
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--nesting</optional></option>
</term>
<listitem>
<para>
<!--
Show nested containers.
-->
ネストされたコンテナを表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>filter</optional></option>
</term>
<listitem>
<para>
<!--
The filter passed to <command>lxc-ls</command> will be
applied to the container name. The format is a regular expression.
-->
コンテナ名に対して適用する <command>lxc-ls</command> に与えるフィルタ.フォーマットは正規表現です.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-ls -l</term>
<listitem>
<para>
<!--
list all the container and their permissions.
-->
全てのコンテナとそのパーミッションをリスト表示します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-ls --active -1</term>
<listitem>
<para>
<!--
list active containers and display the list in one column.
-->
稼働中のコンテナを一列にリスト表示します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>ls</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
</simpara>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-monitor</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-monitor</refname>
<refpurpose>
<!--
monitor the container state
-->
コンテナの状態をモニタリングする.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-monitor</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-monitor</command> monitors the state of the
specified containers. The <replaceable>name</replaceable> can be
a regular expression, conforming with posix2, so it is possible
to monitor all the containers, several of them or just one.
-->
<command>lxc-monitor</command> は指定されたコンテナの状態をモニタします.<replaceable>name</replaceable> は posix2 準拠の正規表現が使用可能ですので,全てのコンテナ,いくつかのコンテナ,一つだけのコンテナをモニタリングすることが可能です.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Bugs -->バグ</title>
<para>
<!--
Only one <command>lxc-monitor</command> can run at a time. Other
invocations will fail with the following error:
-->
一度に一つの <command>lxc-monitor</command> しか実行できません.それ以上起動しようとすると,以下のようなエラーで失敗します.
</para>
<para>
lxc-monitor: bind : Address already in use
</para>
</refsect1>
<refsect1>
<title>Examples</title>
<variablelist>
<varlistentry>
<term>lxc-monitor -n foo</term>
<listitem>
<para>
<!--
will monitor the different states for container foo.
-->
foo という名前のコンテナの様々な状態をモニタリングします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-monitor -n 'foo|bar'</term>
<listitem>
<para>
<!--
will monitor the different states for container foo and bar.
-->
foo と bar という名前のコンテナの様々な状態をモニタリングします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-monitor -n '[f|b].*'</term>
<listitem>
<para>
<!--
will monitor the different states for container with the
name beginning with letter 'f' or 'b'.
-->
'f' もしくは 'b' という文字で始まるコンテナの様々な状態をモニタリングします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-monitor -n '.*'</term>
<listitem>
<para>
<!--
will monitor the different states for all containers.
-->
全てのコンテナの様々な状態をモニタリングします.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The specified container was not created before with
the <command>lxc-create</command> command.
-->
指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>regex</refentrytitle>
<manvolnum>7</manvolnum>
</citerefentry>,
</simpara>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
(C) Copyright Canonical Ltd. 2013
Authors:
St辿phane Graber <stgraber@ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-netstat</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-netstat</refname>
<refpurpose>
<!--
run netstat for the specified container
-->
指定したコンテナに対する netstat を実行する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-netstat</command>
<arg choice="opt">--name <replaceable>name</replaceable></arg>
<arg choice="opt">-- netstat option</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-netstat</command> is a wrapper to the netstat command.
-->
<command>lxc-netstat</command> は netstat コマンドのラッパーです.
</para>
</refsect1>
<refsect1>
<title><!-- Options --></title>
<variablelist>
<varlistentry>
<term>
<option>-n, --name <replaceable>name</replaceable></option>
</term>
<listitem>
<para>
<!--
The container name.
-->
コンテナ名
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>netstat options</optional></option>
</term>
<listitem>
<para>
<!--
The <command>netstat</command> options must be separated
from <command>lxc-netstat</command> options by
the <option>&#045;&#045;</option> parameter.
-->
<command>netstat</command> オプションは <command>lxc-netstat</command> のオプションと <option>--</option> で分けなければならない.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Example -->例</title>
<variablelist>
<varlistentry>
<term>lxc-netstat --name foo -- -lnp</term>
<listitem>
<para>
<!--
Call netstat -lnp for container foo.
-->
コンテナ foo に対して netstat -lnp を呼び出す
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>netstat</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
</simpara>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-ps</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-ps</refname>
<refpurpose>
<!--
list the processes belonging to a specific container.
-->
指定したコンテナに属するプロセスをリスト表示する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-ps</command>
<arg choice="opt">--name <replaceable>name</replaceable></arg>
<arg choice="opt">--lxc</arg>
<arg choice="opt">--host</arg>
<arg choice="opt">-- ps option</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-ps</command> is a wrapper to the ps command
to report the name of lxc container associated
to reported processes.
-->
<command>lxc-ps</command> は,プロセスと関連した lxc コンテナ名を報告する ps コマンドのラッパーです.
</para>
<para>
<!--
The cgroup fs must be mounted before container creation,
to be able to have <command>lxc-ps</command> to find
the container associated to processes.
-->
<command>lxc-ps</command> がコンテナに関連するプロセスを見つけるためには,コンテナが作成される前に cgroup FS がマウントされている必要があります.
</para>
<para>
<!--
The additionnal specified ps options must not
remove the default ps header and the pid information,
to be able to have the <command>lxc-ps</command> to find
the container associated to processes.
-->
<command>lxc-ps</command> がコンテナに関連したプロセスを見つけるためには,追加で指定された ps コマンドのオプションが,標準の ps コマンドのヘッダや pid 情報を削除してはいけません.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-n, --name <replaceable>name</replaceable></option>
</term>
<listitem>
<para>
<!--
specify the container <replaceable>NAME</replaceable>
to limit the output to the processes belonging
to this container name.
-->
<replaceable>name</replaceable> で指定したコンテナに属するプロセスのみ出力する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--lxc</option>
</term>
<listitem>
<para>
<!--
limit the output to the processes belonging
to all lxc containers.
-->
全ての lxc コンテナに属するプロセスを出力する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--host</option>
</term>
<listitem>
<para>
<!--
limit the output to the processes belonging
to the host.
-->
ホスト (訳注: コンテナ以外) に属するプロセスのみを出力する.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>ps options</optional></option>
</term>
<listitem>
<para>
<!--
The <command>ps</command> options must be separated
from <command>lxc-ps</command> options by
the <option>&#045;&#045;</option> parameter.
-->
<command>ps</command> のオプションと,<command>lxc-ps</command> のオプションとは,<option>--</option> で区切って指定します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Example --></title>
<variablelist>
<varlistentry>
<term>lxc-ps --name foo -- --forest</term>
<listitem>
<para>
<!--
list all the processes belonging to container 'foo' and show
dependencies.
-->
foo という名前のコンテナに属する全てのプロセスをリスト表示し,依存関係を示します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>ps</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
</simpara>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-restart</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>IBM</refmiscinfo>
</refmeta>
<refnamediv>
<refname>lxc-restart</refname>
<refpurpose>
<!--
restart a container from a file (not implemented yet)
-->
ファイルからコンテナを再起動する (未実装)
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-restart</command>
<arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="req">--statefile=<replaceable>FILE</replaceable></arg>
<arg choice="req">--statefd=<replaceable>FD</replaceable></arg>
<arg choice="req">--name=<replaceable>NAME</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
<!--
<command>lxc-restart</command> is a command
to restart an application from the state read in the specified
<replaceable>FILE</replaceable>, in a container with the
identifier <replaceable>NAME</replaceable>.
If the option <option>&#045;&#045;pause</option>
is specified, the application will be stopped after the
restart just before resuming execution. The command
<command>lxc-unfreeze</command> will be needed to resume its
execution.
-->
<command>lxc-restart</command> は <replaceable>FILE</replaceable> で指定したファイルから状態を読み取り,<replaceable>NAME</replaceable> で指定したコンテナ内のアプリケーションを再起動するコマンドです.もし <option>--pause</option> が指定された場合,アプリケーションは再起動後に直前の実行状態で再開する前に停止します.この実行状態の再開には <command>lxc-unfreeze</command> コマンドが必要になります.
</para>
</refsect1>
<refsect1>
<title><!-- Restart Options -->再起動オプション</title>
<variablelist>
<varlistentry>
<term><option>-S, --statefile=<replaceable>FILE</replaceable></option></term>
<listitem>
<para>
<!--
read the state of the container in this
<replaceable>FILE</replaceable>.
This option is exclusive with <option>&#045;&#045;statefd</option> below.
-->
コンテナの状態を <replaceable>FILE</replaceable> で指定したファイルから読み取ります.このオプションは,後の <option>--statefd</option> と同時に指定できません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d, --statefd=<replaceable>FD</replaceable></option></term>
<listitem>
<para>
<!--
read the state of the container in this
<replaceable>FD</replaceable> file descriptor.
This option is exclusive with above <option>&#045;&#045;statefile</option>.
-->
コンテナの状態を <replaceable>FD</replaceable> で指定したファイル記述子から読み取ります.このオプションは,前の <option>--statefile</option> と同時に指定できません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-p</option></term>
<listitem>
<para>
<!--
Pause container processes after restart. The container will be
stopped until you resume it with the lxc-unfreeze command.
-->
再起動後にコンテナプロセスを一時停止します.コンテナは lxc-unfreeze コマンドで再開するまでは停止しています.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f, --rcfile=<replaceable>config_file</replaceable></option></term>
<listitem>
<para>
<!--
Specify the configuration file to configure the
virtualization and isolation functionalities for the
container. This parameter should be specified if it was
specified for the <command>lxc-execute</command>
or <command>lxc-start</command> commands or if the
container configuration has to be changed at restart. The
latter may fail if the needed resources are not available
for the restart. If the container was created and
configured with <command>lxc-create</command>, this option
is not needed, the configuration will be automatically
found.
-->
コンテナの仮想化および隔離機能を設定した設定ファイルを指定します.このパラメータは,<command>lxc-execute</command> コマンドや <command>lxc-start</command> コマンドで (起動時に) 指定されていた場合や,再起動後に設定を変更する場合に指定すべきです.後者の場合,再起動に必要なリソースが利用できない場合は失敗するでしょう.コンテナが <command>lxc-create</command> コマンドで作成され,設定されていた場合,このオプションは必要ありません.設定は自動的に見つけられるでしょう.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s <replaceable>KEY=VAL</replaceable></option>
</term>
<listitem>
<para>
<!--
Assign value <replaceable>VAL</replaceable> to configuration
variable <replaceable>KEY</replaceable>. This overrides any
assignment done in <replaceable>config_file</replaceable>.
-->
設定変数 <replaceable>KEY</replaceable> の値を <replaceable>VAL</replaceable> に設定します.この設定は <replaceable>config_file</replaceable> で設定された値を上書きします.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Examples -->例</title>
<para>
<!--
To start a new container <literal>123</literal> computing decimals of pi
-->
円周率の小数点以下を計算する新しいコンテナ <literal>123</literal> を開始するために,
</para>
<programlisting>
lxc-execute -n 123 -- pi1 -d 500000
lxc-execute --name=123 -- pi1 -d 500000
</programlisting>
<para>
<!--
to checkpoint the same container in <emphasis>dump-death</emphasis>
mode
-->
<emphasis>dump-death</emphasis> モードで同じコンテナのチェックポイントを作成するために,
</para>
<programlisting>
lxc-checkpoint -n 123 -S /share/123/chkpt1 -k
lxc-checkpoint --name=123 --statefile=/share/123/chkpt1 -k
</programlisting>
<para>
<!--
and to restart the same container with a different id
-->
そして,異なる id で同じコンテナを再起動するために,
</para>
<programlisting>
lxc-restart -n 200 -S /share/123/chkpt1
lxc-restart --name=200 --statefile=/share/123/chkpt1
</programlisting>
</refsect1>
<refsect1>
<title><!-- Notes -->注意</title>
<para>
<!--
Actually, this command does not operate. Its description
helps to define a CLI api for future Checkpoint / Restart
solution
-->
実際はこのコマンドは動作しません.この説明は将来的なチェックポイント/再起動の解決策となる CLI API を定義するのを助けるためのものです.
</para>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
Copyright (C) 2012 Canonical, Inc
Authors: Serge Hallyn <serge.hallyn@canonical.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-shutdown</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-shutdown</refname>
<refpurpose>
<!--
externally shut down or reboot a container
-->
コンテナ外部からコンテナのシャットダウンまたはリブートを行う
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-shutdown</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-w</arg>
<arg choice="opt">-r</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-shutdown</command> sends a SIGPWR signal to the
specified container to request it to cleanly shut down. If
<optional>-w</optional> is specified, then <command>lxc-shutdown</command>
will wait until the container has shut down before exiting.
If <optional>-r</optional> is specified, the container will be
asked to reboot (using a SIGINT signal), and <optional>-w</optional>
will be ignored. If the container ignore these signals, then
nothing will happen. In that case, you can use <command>lxc-stop</command>
to force the container to stop.
-->
<command>lxc-shutdown</command> は,コンテナをクリーンにシャットダウンする要求をするために SIGPWR シグナルを指定したコンテナに送ります.もし <optional>-w</optional> オプションが指定された場合,<command>lxc-shutdown</command> はコンテナがシャットダウンするまで自身が終了するのを待ちます.もし <optional>-r</optional> が指定された場合,コンテナに (SIGINT シグナルを使って) 再起動を要求します.そして,この時 <optional>-w</optional> オプションは無視されます.もしコンテナがこの 2 つのシグナルを無視した場合は何も起きません.この場合はコンテナを強制的に停止するために <command>lxc-stop</command> コマンドが使えます.
</para>
</refsect1>
&commonoptions;
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Serge Hallyn <email>serge.hallyn@canonical.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
(C) Copyright Canonical Ltd. 2013
Authors:
St辿phane Graber <stgraber@ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-start-ephemeral</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-start-ephemeral</refname>
<refpurpose>
<!--
start an ephemeral copy of an existing container
-->
存在するコンテナの一時的なコピーを開始する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-start-ephemeral</command>
<arg choice="opt">-o</arg>
<arg choice="opt">-n</arg>
<arg choice="opt">-d</arg>
<arg choice="opt">--bdir</arg>
<arg choice="opt">--user</arg>
<arg choice="opt">--key</arg>
<arg choice="opt">--union-type</arg>
<arg choice="opt">--keep-data</arg>
<arg choice="opt">COMMAND</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description --></title>
<para>
<!--
<command>lxc-start-ephemeral</command> start an ephemeral copy of an
existing container.
-->
<command>lxc-start-ephemeral</command> は,存在するコンテナの一時的なコピーを開始します.
</para>
</refsect1>
<refsect1>
<title><!-- Options --></title>
<variablelist>
<varlistentry>
<term>
<option>-o</option>
</term>
<listitem>
<para>
<!--
Original container name
-->
コピー元のコンテナ名
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-n</optional></option>
</term>
<listitem>
<para>
<!--
Name of the ephemeral container (defaults to a random suffix).
-->
一時的なコンテナの名前 (デフォルトではランダムなサフィックスが付与されます)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-d</optional></option>
</term>
<listitem>
<para>
<!--
Start the container in background and print the name and IP.
This option can't be used if a command is passed.
-->
コンテナをバックグラウンドで実行し,名前と IP アドレスを表示します.
このオプションはコマンドを実行させたいときには使用することはできません.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--bdir</optional></option>
</term>
<listitem>
<para>
<!--
Directory to bind mount into container.
Can be passed multiple times.
-->
コンテナ内にバインドマウントするためのディレクトリ.
複数回指定できます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--user</optional></option>
</term>
<listitem>
<para>
<!--
The user to connect to the container as.
Used when passing a command to lxc-start-ephemeral.
-->
コンテナに接続するためのユーザ.
lxc-start-ephemeral コマンドを実行するときに使います.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--key</optional></option>
</term>
<listitem>
<para>
<!--
Copy the provided SSH public key into the container.
-->
コンテナ内にコピーする既存の SSH 公開鍵.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--union-type</optional></option>
</term>
<listitem>
<para>
<!--
Force a specific union file system.
Can be one of: overlayfs aufs
-->
指定した union ファイルシステムを使用します.
overlayfs か aufs のどちらかが使用できます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>--keep-data</optional></option>
</term>
<listitem>
<para>
<!--
Use a persistent backend instead of tmpfs.
With this option, you can lxc-stop and lxc-start the no longer so
ephemeral container (it's still an overlay, but a persistent one).
-->
tmpfs の代わりに永続的なバックエンドを使用します.
このオプションを使うことにより,もはや一時的なコンテナではないので,lxc-stop や lxc-start を使用することができます (オーバーレイな状態ですが,永続的です).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>COMMAND</optional></option>
</term>
<listitem>
<para>
<!--
Immediately run the provided command in the container.
This currently uses ssh (not attach) and is incompatible
with daemon mode.
-->
即座に指定したコマンドをコンテナ内で実行します.
現時点では (attach ではなく) ssh を使用します.そしてデーモンモードと両方を指定することはできません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>See Also</title>
<simpara>
<citerefentry>
<refentrytitle>lxc-start</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
</simpara>
<title><!-- Examples -->例</title>
<variablelist>
<varlistentry>
<term>lxc-start-ephemeral -o p1</term>
<listitem>
<para>
<!--
Simply start an ephemeral container and attach to the console.
This container will be based on existing container "p1".
-->
単に一時的なコンテナを開始させ,コンソールにアタッチします.
このコンテナは "p1" という既存のコンテナを基にします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-start-ephemeral -o p1 -n p1-ephemeral -d</term>
<listitem>
<para>
<!--
Start an ephemeral container based on p1 called p1-ephemeral and
print its IP and name to the console instead of attaching.
-->
p1 を基にした一時的なコンテナを開始し,コンソールにアタッチする代わりに IP アドレスと名前を表示します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-start</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-start</refname>
<refpurpose>
<!--
run an application inside a container.
-->
コンテナの内部でアプリケーションを実行する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-start</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<arg choice="opt">-c <replaceable>console_device</replaceable></arg>
<arg choice="opt">-L <replaceable>console_logfile</replaceable></arg>
<arg choice="opt">-d</arg>
<arg choice="opt">-p <replaceable>pid_file</replaceable></arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="opt">-C</arg>
<arg choice="opt">command</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-start</command> runs the specified
<replaceable>command</replaceable> inside the container
specified by <replaceable>name</replaceable>.
-->
<command>lxc-start</command> は <replaceable>command</replaceable> で指定されたコマンドを,<replaceable>name</replaceable> で指定されたコンテナ内で実行します.
</para>
<para>
<!--
It will setup the container
according to the configuration previously defined with the
lxc-create command or with the configuration file parameter.
If no configuration is
defined, the default isolation is used.
-->
このコマンドは,lxc-create コマンドもしくは設定ファイルのパラメータであらかじめ定義された設定に従ってコンテナをセットアップします.もし設定が定義されていない場合は,デフォルトの隔離状態を使用します.
</para>
<para>
<!--
If no command is specified, <command>lxc-start</command> will
use the default
<command>"/sbin/init"</command> command to run a system
container.
-->
もし command が指定されない場合は,<command>lxc-start</command> はシステムコンテナを実行するためのコマンドとして,デフォルトで <command>"/sbin/init"</command> を使用します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-d, --daemon</option>
</term>
<listitem>
<para>
<!--
Run the container as a daemon. As the container has no
more tty, if an error occurs nothing will be displayed,
the log file can be used to check the error.
-->
コンテナをデーモンとして実行します.コンテナはそれ以上の tty を持ちませんので,もしエラーが起きても何も表示されません.エラーのチェックにはログファイルを使用することができます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-p, --pidfile <replaceable>pid_file</replaceable></option>
</term>
<listitem>
<para>
<!--
Create a file with the process id.
-->
プロセス ID を含むファイルを作製します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-f, --rcfile <replaceable>config_file</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify the configuration file to configure the virtualization
and isolation functionalities for the container.
-->
コンテナの仮想化,隔離機能の設定のための設定ファイルを指定します.
</para>
<para>
<!--
This configuration file if present will be used even if there is
already a configuration file present in the previously created
container (via lxc-create).
-->
(lxc-create 経由で) 前もってコンテナが作られた際の設定ファイルが既にあった場合でも,このオプションが指定された場合は,指定した設定ファイルが使用されます.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-c,
--console <replaceable>console_device</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify a device to use for the container's console, for example
/dev/tty8. If this option is not specified the current terminal
will be used unless <option>-d</option> is specified.
-->
コンテナのコンソールに使用するデバイスを指定します.例えば /dev/tty8 のように指定します.このオプションが指定されない時は,<option>-d</option> が指定されない限りは,現在のターミナルを使用します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-L,
--console-log <replaceable>console_logfile</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify a file to log the container's console output to.
-->
コンテナのコンソール出力のログを出力するファイルを指定します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s, --define <replaceable>KEY=VAL</replaceable></option>
</term>
<listitem>
<para>
<!--
Assign value <replaceable>VAL</replaceable> to configuration
variable <replaceable>KEY</replaceable>. This overrides any
assignment done in <replaceable>config_file</replaceable>.
-->
設定変数 <replaceable>KEY</replaceable> に対する設定値として <replaceable>VAL</replaceable> を設定します.この設定は,<replaceable>config_file</replaceable> で既に設定されている値も上書きします.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-C,
--close-all-fds</option>
</term>
<listitem>
<para>
<!--
If any file descriptors are inherited, close them. If this option
is not specified, then <command>lxc-start</command> will exit with
failure instead. Note: <replaceable>&#045;&#045;daemon</replaceable> implies
<replaceable>&#045;&#045;close-all-fds</replaceable>.
-->
継承しているファイルディスクリプタが存在する場合,それをクローズします.このオプションが指定されない場合,<command>lxc-start</command> の実行は失敗して終了します.注意: <replaceable>--daemon</replaceable> オプションは,<replaceable>--close-all-fds</replaceable> オプションを指定しなくても指定している場合と同様の動きをします.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container is busy</term>
<listitem>
<para>
<!--
The specified container is already running an
application. You should stop it before reuse this
container or create a new one.
-->
指定したコンテナは既に実行済みです.このコンテナを使用するまえに既に起動しているコンテナを停止するか,新しいものを作成する必要があります.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-stop</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-stop</refname>
<refpurpose>
<!--
stop the application running inside a container
-->
コンテナ内で動作しているアプリケーションを停止する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-stop</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-stop</command> kills all the processes inside the
container. This command should be used if the processes are no
longer accessible and can no be exited normally.
-->
<command>lxc-stop</command> はコンテナ内の全てのプロセスを kill します.もし,プロセスにアクセスできない場合や,普通に停止できない場合は,このコマンドを使うべきです.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container is busy</term>
<listitem>
<para>
<!--
The specified container is already running an
application. You should stop it before reuse this
container or create a new one.
-->
指定したコンテナが既にアプリケーションを実行中です.このコンテナを再利用する前に停止するか,新しいコンテナを作成する必要があります.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The specified container was not created before with
the <command>lxc-create</command> command.
-->
指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
Copyright © 2012 Oracle.
Authors:
Dwight Engen <dwight.engen@oracle.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-top</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-top</refname>
<refpurpose>
<!--
monitor container statistics
-->
コンテナの統計情報を表示する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-top</command>
<arg choice="opt">--help</arg>
<arg choice="opt">--max <replaceable>count</replaceable></arg>
<arg choice="opt">--delay <replaceable>delay</replaceable></arg>
<arg choice="opt">--sort <replaceable>sortby</replaceable></arg>
<arg choice="opt">--reverse</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<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.
-->
<command>lxc-top</command> はコンテナの統計情報を表示します.出力は <replaceable>delay</replaceable> 秒ごとに更新されます.そして,<replaceable>sortby</replaceable> で指定した値に従ってソートされます.<replaceable>count</replaceable> を指定すると表示するコンテナ数を制限しますが,指定しなければ使用しているターミナルに合うようなコンテナ数で表示します.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option><optional>-m, --max <replaceable>count</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
Limit the number of containers displayed to
<replaceable>count</replaceable>.
-->
表示するコンテナ数を <replaceable>count</replaceable> に制限します.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-d, --delay <replaceable>delay</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
Amount of time in seconds to delay between screen updates.
This can be specified as less than a second by giving a
rational number, for example 0.5 for a half second delay. The
default is 3 seconds.
-->
表示を更新する間隔を秒で指定します.有理数を指定することにより,1 秒以下を指定することも可能です.例えば,1 秒の半分で更新を行うために 0.5 を指定します.デフォルトは 3 秒です.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-s, --sort <replaceable>sortby</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
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'.
-->
名前,CPU 使用量,メモリ使用量でコンテナをソートします.<replaceable>sortby</replaceable> で指定する引数は n,c,d,m のどれかでなければなりません.これはそれぞれ名前,CPU 使用量,disk I/O,メモリ使用量を表します.デフォルトは 'n' です.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-r, --reverse</optional></option>
</term>
<listitem>
<para>
<!--
Reverse the default sort order. By default, names sort in
ascending alphabetical order and values sort in descending
amounts (ie. largest value first).
-->
デフォルトのソート順を逆転させます.デフォルトでは,名前のソートはアルファベットの昇順,値のソートは量の降順 (最も大きい数が最初) です.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Example -->例</title>
<variablelist>
<varlistentry>
<term>lxc-top --delay 1 --sort m</term>
<listitem>
<para>
<!--
Display containers, updating every second, sorted by memory use.
-->
コンテナを 1 秒ごとに更新し,メモリ使用量でソートして表示します.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Dwight Engen <email>dwight.engen@oracle.com</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-unfreeze</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-unfreeze</refname>
<refpurpose>
<!--
thaw all the container's processes
-->
全てのコンテナのプロセスを解凍する
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-unfreeze</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-unfreeze</command> will thaw all the processes
previously frozen by the <command>lxc-freeze</command> command.
-->
<command>lxc-unfreeze</command> は,先に <command>lxc-freeze</command> を使って凍結した全てのプロセスを解凍します.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title><!-- Diagnostic -->診断</title>
<variablelist>
<varlistentry>
<term>The container was not found</term>
<listitem>
<para>
<!--
The specified container was not created before with
the <command>lxc-create</command> command.
-->
指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
<!--
lxc: linux Container library
(C) Copyright IBM Corp. 2007, 2008
Authors:
Daniel Lezcano <daniel.lezcano at free.fr>
Serge Hallyn <serge.hallyn at ubuntu.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]>
<refentry>
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
<refmeta>
<refentrytitle>lxc-unshare</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>lxc-unshare</refname>
<refpurpose>
<!--
Run a task in a new set of namespaces.
-->
タスクを新しい名前空間の組で実行する.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>lxc-clone</command>
<arg choice="req">-s <replaceable>namespaces</replaceable></arg>
<arg choice="req">-u <replaceable>user</replaceable></arg>
<arg choice="req">command</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title><!-- Description -->説明</title>
<para>
<!--
<command>lxc-unshare</command> can be used to run a task in a cloned set
of namespaces. This command is mainly provided for testing purposes.
Despite its name, it always uses clone rather than unshare to create
the new task with fresh namespaces. Apart from testing kernel
regressions this should make no difference.
-->
<command>lxc-unshare</command> はクローンされた名前空間の組の中でタスクを実行するのに使います.このコマンドは主にテスト目的で使います.このような名前であるにもかかわらず,このコマンドは常に,新しい名前空間で新しいタスクを作成するために unshare ではなく clone を使います.テスト中のカーネルの退行は別として,これで違いは生じないはずです.
</para>
</refsect1>
<refsect1>
<title><!-- Options -->オプション</title>
<variablelist>
<varlistentry>
<term>
<option>-s <replaceable>namespaces</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify the namespaces to attach to, as a pipe-separated list,
e.g. <replaceable>NETWORK|IPC</replaceable>. Allowed values are
<replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>,
<replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>,
<replaceable>USER </replaceable> and
<replaceable>NETWORK</replaceable>. This allows one to change
the context of the process to e.g. the network namespace of the
container while retaining the other namespaces as those of the
host.
-->
アタッチする名前空間を,パイプでつなげたリストで指定します.例えば <replaceable>NETWORK|IPC</replaceable> のようにです.指定できる値は <replaceable>MOUNT</replaceable>,<replaceable>PID</replaceable>,<replaceable>UTSNAME</replaceable>,<replaceable>IPC</replaceable>,<replaceable>USER </replaceable>,<replaceable>NETWORK</replaceable> です.これにより,プロセスのコンテキストを変更することができます.例えば,コンテナのネットワーク名前空間だけを変更し,他の名前空間をホストのものと同じものに保ったままにするというようなことです.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-u <replaceable>user</replaceable></option>
</term>
<listitem>
<para>
<!--
Specify a user which the new task should become. This option is
only valid if a user namespace is unshared.
-->
新しいタスクを実行するユーザを指定します.このオプションはユーザ名前空間を unshare する時のみ有効です.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title><!-- Examples -->例</title>
<para>
<!--
To spawn a new shell with its own UTS (hostname) namespace,
<programlisting>
lxc-clone -s UTSNAME /bin/bash
</programlisting>
If the hostname is changed in that shell, the change will not be
reflected on the host.
-->
自身の UTS(hostname)名前空間でシェルを起動するには以下のように実行します.
<programlisting>
lxc-clone -s UTSNAME /bin/bash
</programlisting>
もし,そのシェル上でホスト名を変更しても,その変更はホストには反映されません.
</para>
<para>
<!--
To spawn a shell in a new network, pid, and mount namespace,
<programlisting>
lxc-clone -s "NETWORK|PID|MOUNT" /bin/bash
</programlisting>
The resulting shell will have pid 1 and will see no network interfaces.
After re-mounting /proc in that shell,
<programlisting>
mount -t proc proc /proc
</programlisting>
ps output will show there are no other processes in the namespace.
-->
新しいネットワーク,pid,マウント名前空間でシェルを起動するには以下のように実行します.
<programlisting>
lxc-clone -s "NETWORK|PID|MOUNT" /bin/bash
</programlisting>
その結果起動するシェルは pid が 1 となり,ネットワークインターフェースがないでしょう.そのシェル上で /proc を再マウントした後
<programlisting>
mount -t proc proc /proc
</programlisting>
ps の出力は,その名前空間内には他のプロセスが存在しない事を表示するでしょう.
</para>
</refsect1>
&seealso;
<refsect1>
<title><!-- Author -->作者</title>
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment