~xnox/ubuntu/saucy/lxc/dep8

« back to all changes in this revision

Viewing changes to doc/lxc-wait.1

  • Committer: Stéphane Graber
  • Date: 2013-02-18 15:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 190.
  • Revision ID: stgraber@ubuntu.com-20130218152018-ls2gi9hkqs2kuhj8
Tags: upstream-0.9.0~alpha3
Import upstream version 0.9.0~alpha3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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" "" ""
7
 
 
8
 
.SH NAME
9
 
lxc-wait \- wait for a specific container state
10
 
.SH SYNOPSIS
11
 
 
12
 
\fBlxc-wait \fI-n name\fB
13
 
\fI-s states\fB
14
 
\fR
15
 
 
16
 
.SH "DESCRIPTION"
17
 
.PP
18
 
\fBlxc-wait\fR waits for a specific container state
19
 
before exiting, this is useful for scripting.
20
 
.SH "OPTIONS"
21
 
.TP
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.
25
 
.SH "COMMON OPTIONS"
26
 
.PP
27
 
These options are common to most of lxc commands.
28
 
.TP
29
 
\fB-?, -h, --help\fR
30
 
Print a longer usage message than normal.
31
 
.TP
32
 
\fB--usage\fR
33
 
Give the usage message
34
 
.TP
35
 
\fB-q, --quiet\fR
36
 
mute on
37
 
.TP
38
 
\fB-o, --logfile=\fIFILE\fB\fR
39
 
Output to an alternate log
40
 
\fIFILE\fR\&. The default is no log.
41
 
.TP
42
 
\fB-l, --logpriority=\fILEVEL\fB\fR
43
 
Set log priority to
44
 
\fILEVEL\fR\&. The default log
45
 
priority is ERROR\&. Possible values are :
46
 
FATAL, CRIT,
47
 
WARN, ERROR,
48
 
NOTICE, INFO,
49
 
DEBUG\&.
50
 
 
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.
54
 
.TP
55
 
\fB-n, --name=\fINAME\fB\fR
56
 
Use container identifier \fINAME\fR\&.
57
 
The container identifier format is an alphanumeric string.
58
 
.SH "EXAMPLES"
59
 
.TP
60
 
\fBlxc-wait -n foo -s RUNNING\fR
61
 
exits when 'RUNNING' is reached.
62
 
.TP
63
 
\fBlxc-wait -n foo -s 'RUNNING|STOPPED'\fR
64
 
exits when 'RUNNING' or 'STOPPED' state is reached.
65
 
.SH "DIAGNOSTIC"
66
 
.TP
67
 
\fBThe container was not found\fR
68
 
The specified container was not created before with
69
 
the \fBlxc-create\fR command.
70
 
.SH "SEE ALSO"
71
 
.PP
72
 
\fBlxc\fR(1),
73
 
\fBlxc-create\fR(1),
74
 
\fBlxc-destroy\fR(1),
75
 
\fBlxc-start\fR(1),
76
 
\fBlxc-stop\fR(1),
77
 
\fBlxc-execute\fR(1),
78
 
\fBlxc-kill\fR(1),
79
 
\fBlxc-console\fR(1),
80
 
\fBlxc-monitor\fR(1),
81
 
\fBlxc-wait\fR(1),
82
 
\fBlxc-cgroup\fR(1),
83
 
\fBlxc-ls\fR(1),
84
 
\fBlxc-ps\fR(1),
85
 
\fBlxc-info\fR(1),
86
 
\fBlxc-freeze\fR(1),
87
 
\fBlxc-unfreeze\fR(1),
88
 
\fBlxc-attach\fR(1),
89
 
\fBlxc.conf\fR(5)
90
 
.SH "AUTHOR"
91
 
.PP
92
 
Daniel Lezcano <daniel.lezcano@free.fr>