lxc-monitor.sgml.in revision 8d06bd135af4852f24660be965aba2d781223af4
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber<!--
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber
6e39e4cbff5d49b4a66451696aa87b9884f58a6eStéphane Graberlxc: linux Container library
0cad52a113839d18fb500b5118894d4ce4744726Stéphane Graber
4662c6dee0b2f3ee065897aac616b6a8ad02b67eStéphane Graber(C) Copyright IBM Corp. 2007, 2008
4662c6dee0b2f3ee065897aac616b6a8ad02b67eStéphane Graber
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane GraberAuthors:
c194ffc100f488b08bae2d0df417fa9ffc507c7cAlexander VladimirovDaniel Lezcano <daniel.lezcano at free.fr>
c194ffc100f488b08bae2d0df417fa9ffc507c7cAlexander Vladimirov
1ecee40b7dcb933d2c9910f07ed26c6a55e18206Michael H. WarfieldThis library is free software; you can redistribute it and/or
1ecee40b7dcb933d2c9910f07ed26c6a55e18206Michael H. Warfieldmodify it under the terms of the GNU Lesser General Public
5b99af0079813347d90c935ea540ed7f96dcea38Stéphane GraberLicense as published by the Free Software Foundation; either
6e39e4cbff5d49b4a66451696aa87b9884f58a6eStéphane Graberversion 2.1 of the License, or (at your option) any later version.
00fe5e1d19def221951c1bfcb631b47a2403c951Stéphane Graber
00fe5e1d19def221951c1bfcb631b47a2403c951Stéphane GraberThis library is distributed in the hope that it will be useful,
1ecee40b7dcb933d2c9910f07ed26c6a55e18206Michael H. Warfieldbut WITHOUT ANY WARRANTY; without even the implied warranty of
1ecee40b7dcb933d2c9910f07ed26c6a55e18206Michael H. WarfieldMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cae3584efccc63f544c8748bd13d80e11bc79aefgzaLesser General Public License for more details.
cae3584efccc63f544c8748bd13d80e11bc79aefgza
705bfae0d801ae08761f30a98eaa61c64e0f66b6Stéphane GraberYou should have received a copy of the GNU Lesser General Public
41cf1ac30de569888c70b1f1b40d29993950ff2eMichael H. WarfieldLicense along with this library; if not, write to the Free Software
41cf1ac30de569888c70b1f1b40d29993950ff2eMichael H. WarfieldFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
9e69977fa6fe9273cbe166cbb7f9cbbd427b5a01Dwight Engen
9e69977fa6fe9273cbe166cbb7f9cbbd427b5a01Dwight Engen-->
bf3e09c00eab82850782ad6ec74e4403d84ae866KATOH Yasufumi
cb13115193f408eb4de08ea9b6c73c1fe22a0263Stéphane Graber<!DOCTYPE refentry PUBLIC @docdtd@ [
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
f2a95ee1bf54c949614a68bf152ea9a8e1d3a172Stéphane Graber]>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
214a98ef56b487ed9ca5a021f2e44bb7525e82ecSerge Hallyn<refentry>
c33bdec826338ce0b6da5c29101499cd139d6c1aPetar Koretic
5b99af0079813347d90c935ea540ed7f96dcea38Stéphane Graber <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.
</para>
<para>
The <option>-P, --lxcpath</option>=PATH option may be specified multiple
times to monitor more than one container path. Note however that
containers with the same name in multiple paths will be
indistinguishable in the output.
</para>
</refsect1>
&commonoptions;
<refsect1>
<title>Examples</title>
<variablelist>
<varlistentry>
<term>lxc-monitor -n foo</term>
<listitem>
<para>
will monitor the different states for container foo.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>lxc-monitor -n 'foo|bar'</term>
<listitem>
<para>
will monitor the different states for container foo and 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'.
</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.
</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:
-->