lxc-monitor

Langue: en

Version: 29 April 2009 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

lxc-monitor - monitor the container state

SYNOPSIS

lxc-monitor -n name

DESCRIPTION

lxc-monitor monitors the state of the specified containers. The name can be a regular expression, conforming with posix2, so it is possible to monitor all the containers, several of them or just one.

OPTIONS

-n name
Specify the container name to be monitored. This option can be a regular expression conforming POSIX2.

EXAMPLES

lxc-monitor -n foo
will monitor the different states for container foo.
lxc-monitor -n 'foo|bar'
will monitor the different states for container foo and bar.
lxc-monitor -n '[f|b].*'
will monitor the different states for container with the name beginning with letter 'f' or 'b'.
lxc-monitor -n '.*'
will monitor the different states for all containers.

DIAGNOSTIC

The container was not found
The specified container was not created before with the lxc-create command.

SEE ALSO

regex(7),

AUTHOR

Daniel Lezcano <daniel.lezcano@free.fr>