3
lxc: linux Container library
5
(C) Copyright IBM Corp. 2007, 2008
8
Daniel Lezcano <dlezcano at fr.ibm.com>
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Lesser General Public
12
License as published by the Free Software Foundation; either
13
version 2.1 of the License, or (at your option) any later version.
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Lesser General Public License for more details.
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
30
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
33
<refentrytitle>lxc-monitor</refentrytitle>
34
<manvolnum>1</manvolnum>
38
<refname>lxc-monitor</refname>
41
monitor the container state
47
<command>lxc-monitor <replaceable>-n name</replaceable>
53
<title>Description</title>
56
<command>lxc-monitor</command> monitors the state of the
57
specified containers. The <replaceable>name</replaceable> can be
58
a regular expression, conforming with posix2, so it is possible
59
to monitor all the containers, several of them or just one.
65
<title>Options</title>
70
<option>-n <replaceable>name</replaceable></option>
74
Specify the container name to be monitored. This option
75
can be a regular expression conforming POSIX2.
85
<title>Examples</title>
88
<term>lxc-monitor -n foo</term>
91
will monitor the different states for container foo.
97
<term>lxc-monitor -n 'foo|bar'</term>
100
will monitor the different states for container foo and bar.
106
<term>lxc-monitor -n '[f|b].*'</term>
109
will monitor the different states for container with the
110
name beginning with letter 'f' or 'b'.
116
<term>lxc-monitor -n '.*'</term>
119
will monitor the different states for all containers.
128
<title>Diagnostic</title>
133
<term>The container was not found</term>
136
The specified container was not created before with
137
the <command>lxc-create</command> command.
148
<title>See Also</title>
152
<refentrytitle>regex</refentrytitle>
153
<manvolnum>7</manvolnum>
161
<title>Author</title>
162
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
167
<!-- Keep this comment at the end of the file
172
sgml-minimize-attributes:nil
173
sgml-always-quote-attributes:t
176
sgml-parent-document:nil
177
sgml-default-dtd-file:nil
178
sgml-exposed-tags:nil
179
sgml-local-catalogs:nil
180
sgml-local-ecat-files:nil