lxc-stop.sgml.in revision baeebd0d79027ccaddf00e33238d26d31a92c221
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumilxc: linux Container library
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi(C) Copyright IBM Corp. 2007, 2008
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiDaniel Lezcano <daniel.lezcano at free.fr>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is free software; you can redistribute it and/or
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumimodify it under the terms of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense as published by the Free Software Foundation; either
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiversion 2.1 of the License, or (at your option) any later version.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is distributed in the hope that it will be useful,
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumibut WITHOUT ANY WARRANTY; without even the implied warranty of
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLesser General Public License for more details.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiYou should have received a copy of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense along with this library; if not, write to the Free Software
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8900b9eb2514c07047541833286428572493a9fdStéphane GraberTranslated into Japanese
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiby KATOH Yasufumi <karma at jazz.email.ne.jp>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi stop the application running inside a container
6127da6b3f5815028bee187ac98840cd94313841KATOH Yasufumi コンテナ内で動作しているアプリケーションの停止
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refpurpose>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refnamediv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsynopsisdiv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <cmdsynopsis>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="req">-n <replaceable>name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="opt">-t <replaceable>timeout</replaceable></arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </cmdsynopsis>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsynopsisdiv>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-stop</command> reboots, cleanly shuts down, or kills
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi all the processes inside the container. By default, it will
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi request a clean shutdown of the container by sending
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi <command>lxc.haltsignal</command> (defaults to SIGPWR) to
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi the container's init process, waiting up to 60 seconds for the container
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi to exit, and then returning. If the container fails to cleanly exit in
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi 60 seconds, it will be sent the <command>lxc.stopsignal</command>
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi (defaults to SIGKILL) to force it to shut down.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi <command>lxc-stop</command> は,リブート,クリーンシャットダウン,コンテナ内の全てのプロセスの kill のどれかを行います.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi デフォルトでは,コンテナのクリーンなシャットダウンを <command>lxc.haltsignal</command> (デフォルトでは SIGPWR) をコンテナの init プロセスに送ることでリクエストし,コンテナの終了を 60 秒待ち,return します.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi コンテナが 60 秒の間にクリーンに終了するのに失敗した場合,<command>lxc.stopsignal</command> (デフォルトでは SIGKILL) を送り,強制的にシャットダウンします.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi The <optional>-W</optional>, <optional>-r</optional>,
baeebd0d79027ccaddf00e33238d26d31a92c221Stéphane Graber <optional>-k</optional> and <optional>\-\-nokill</optional>
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi options specify the action to perform.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <optional>-W</optional> indicates that after performing the specified
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi action, <command>lxc-stop</command> should immediately exit, while
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <optional>-t TIMEOUT</optional> specifies the maximum amount of time
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi to wait for the container to complete the shutdown or reboot.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi <optional>-W</optional>, <optional>-r</optional>, <optional>-s</optional>, <optional>-k</optional>, <optional>--nokill</optional> オプションは実行する際のアクションを指定します.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi <optional>-W</optional> は,指定したアクションの後に,<command>lxc-stop</command> は速やかに終了します.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi 一方,<optional>-t TIMEOUT</optional> はコンテナが完全にシャットダウンやリブートするのを待つ時間の最大値を設定します.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <variablelist>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Request a reboot of the container.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi コンテナのリブートをリクエストします.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi Rather than requesting a clean shutdown of the container, explicitly
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi kill all tasks in the container. This is the legacy
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi <command>lxc-stop</command> behavior.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi コンテナのクリーンシャットダウンをリクエストするのでなく,明確にコンテナ内の全てのタスクを kill します.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi Only request a clean shutdown, do not kill the container tasks if the
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi clean shutdown fails.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi クリーンなシャットダウンのみをリクエストします.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi クリーンなシャットダウンに失敗した場合でも,コンテナのタスクを kill しません.
38d626f8bee1a2163f221f0c274c289a66bc08d2KATOH Yasufumi </varlistentry>
241c3744ca7e43533f8cf76fb5972d715b473aa7KATOH Yasufumi <varlistentry>
241c3744ca7e43533f8cf76fb5972d715b473aa7KATOH Yasufumi This option avoids the use of any of the API lxc locking, and should
241c3744ca7e43533f8cf76fb5972d715b473aa7KATOH Yasufumi only be used if <command>lxc-stop</command> is hanging due to a bad
241c3744ca7e43533f8cf76fb5972d715b473aa7KATOH Yasufumi system state.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi このオプションはいかなる場合でも API の lxc のロックの使用を回避します.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi システム状態が不良な場合に lxc-stop の応答がない状態の場合のみ使用すべきです.
241c3744ca7e43533f8cf76fb5972d715b473aa7KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Simply perform the requestion action (reboot, shutdown, or hard
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi kill) and exit.
9a97d4e4bdf331bb2c2b8ed14bcefa53358c288fKATOH Yasufumi リクエストされたアクション (reboot, shutdown, 強制的な kill) を実行するだけで (すぐに) 終了 (exit) します.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <option>-t,--timeout <replaceable>TIMEOUT</replaceable></option>
fe8e3acfa28a4ce0ab6d53d0417884c5124d04fcKATOH Yasufumi Wait TIMEOUT seconds before hard-stopping the container.
fe8e3acfa28a4ce0ab6d53d0417884c5124d04fcKATOH Yasufumi コンテナの強制停止まで TIMEOUT 秒待ちます.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi The specified container was not created before with
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi the <command>lxc-create</command> command.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi 指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!-- Keep this comment at the end of the file
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLocal variables:
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-omittag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-shorttag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-minimize-attributes:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-always-quote-attributes:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-step:2
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-data:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-parent-document:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-default-dtd-file:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-exposed-tags:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-catalogs:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-ecat-files:nil