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" "23 November 2009" "" ""
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
\fB-n, --name=\fINAME\fB\fR
52
Use container identifier \fINAME\fR\&.
53
The container identifier format is an alphanumeric string.
56
\fBlxc-wait -n foo -s RUNNING\fR
57
exits when 'RUNNING' is reached.
59
\fBlxc-wait -n foo -s 'RUNNING|STOPPED'\fR
60
exits when 'RUNNING' or 'STOPPED' state is reached.
63
\fBThe container was not found\fR
64
The specified container was not created before with
65
the \fBlxc-create\fR command.
82
\fBlxc-unfreeze\fR(1),
86
Daniel Lezcano <daniel.lezcano@free.fr>