]> git.ipfire.org Git - thirdparty/lxc.git/commit
These modifications improve the monitoring support of the container. Now
authordlezcano <dlezcano>
Sat, 18 Oct 2008 21:07:39 +0000 (21:07 +0000)
committerdlezcano <dlezcano>
Sat, 18 Oct 2008 21:07:39 +0000 (21:07 +0000)
commit80f412985ebe51a28d04dfb09aa1ca3e0a53dbbd
tree10fcf15d701d91cc0501534a0d32b51a694fa966
parent848e89275f64322863c6cbd253b22a529739c9c6
These modifications improve the monitoring support of the container. Now
several readers can attend the events from one or several containers.
The syntax of the command has been enhanced to interpret regular expressions.
If you want to monitor foo, lxc-monitor -n foo is the right command. If you
want to monitor foo and bar, you should specify lxc-monitor -n "foo|bar",
if you want to monitor all containers with the name beginning with 'foo',
you have to specify lxc-monitor -n "foo.*". More complex regexp can be specified
in accordance with the POSIX definitions, man regex (7).
src/lxc/destroy.c
src/lxc/lxc.h
src/lxc/lxc_monitor.c
src/lxc/lxc_wait.c
src/lxc/monitor.c
src/lxc/monitor.h