1LXC-MONITOR(1) LXC-MONITOR(1)
2
3
4
6 lxc-monitor - monitor the container state
7
9 lxc-monitor -n name .SH "DESCRIPTION"
10
11 lxc-monitor monitors the state of the specified containers. The name
12 can be a regular expression, conforming with posix2, so it is possible
13 to monitor all the containers, several of them or just one.
14
16 These options are common to most of lxc commands.
17
18 -?, -h, --help
19 Print a longer usage message than normal.
20
21 --usage
22 Give the usage message
23
24 -q, --quiet
25 mute on
26
27 -o, --logfile=FILE
28 Output to an alternate log FILE. The default is no log.
29
30 -l, --logpriority=LEVEL
31 Set log priority to LEVEL. The default log priority is ERROR.
32 Possible values are : FATAL, CRIT, WARN, ERROR, NOTICE, INFO,
33 DEBUG.
34
35 Note that this option is setting the priority of the events log
36 in the alternate log file. It do not have effect on the ERROR
37 events log on stderr.
38
39 -n, --name=NAME
40 Use container identifier NAME. The container identifier format
41 is an alphanumeric string.
42
44 lxc-monitor -n foo
45 will monitor the different states for container foo.
46
47 lxc-monitor -n 'foo|bar'
48 will monitor the different states for container foo and bar.
49
50 lxc-monitor -n '[f|b].*'
51 will monitor the different states for container with the name
52 beginning with letter 'f' or 'b'.
53
54 lxc-monitor -n '.*'
55 will monitor the different states for all containers.
56
58 The container was not found
59 The specified container was not created before with the lxc-cre‐
60 ate command.
61
63 regex(7),
64
66 lxc(1), lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-
67 execute(1), lxc-kill(1), lxc-console(1), lxc-monitor(1), lxc-wait(1),
68 lxc-cgroup(1), lxc-ls(1), lxc-ps(1), lxc-info(1), lxc-freeze(1), lxc-
69 unfreeze(1), lxc.conf(5)
70
72 Daniel Lezcano <daniel.lezcano@free.fr>
73
74
75
76 Mon Jul 26 17:09:32 UTC 2010 LXC-MONITOR(1)