1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "LXC-WAIT" "1" "02 March 2012" "" ""
9
lxc-wait \- wait for a specific container state
12
\fBlxc-wait \fI-n name\fB
18
\fBlxc-wait\fR waits for a specific container state
19
before exiting, this is useful for scripting.
22
\fB -s \fIstates\fB \fR
23
Specify the container state(s) to wait for. The container
24
states can be ORed to specify several states.
27
These options are common to most of lxc commands.
30
Print a longer usage message than normal.
33
Give the usage message
38
\fB-o, --logfile=\fIFILE\fB\fR
39
Output to an alternate log
40
\fIFILE\fR\&. The default is no log.
42
\fB-l, --logpriority=\fILEVEL\fB\fR
44
\fILEVEL\fR\&. The default log
45
priority is ERROR\&. Possible values are :
51
Note that this option is setting the priority of the events
52
log in the alternate log file. It do not have effect on the
53
ERROR events log on stderr.
55
\fB-n, --name=\fINAME\fB\fR
56
Use container identifier \fINAME\fR\&.
57
The container identifier format is an alphanumeric string.
60
\fBlxc-wait -n foo -s RUNNING\fR
61
exits when 'RUNNING' is reached.
63
\fBlxc-wait -n foo -s 'RUNNING|STOPPED'\fR
64
exits when 'RUNNING' or 'STOPPED' state is reached.
67
\fBThe container was not found\fR
68
The specified container was not created before with
69
the \fBlxc-create\fR command.
87
\fBlxc-unfreeze\fR(1),
92
Daniel Lezcano <daniel.lezcano@free.fr>