~ubuntu-branches/ubuntu/quantal/lxc/quantal-201208301614

« back to all changes in this revision

Viewing changes to doc/lxc-wait.1

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-01-10 10:40:21 UTC
  • mto: (1.1.2 upstream) (3.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20100110104021-ff3ukvpu7yzc36hm
ImportĀ upstreamĀ versionĀ 0.6.4

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" "23 November 2009" "" ""
 
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
.TP
 
51
\fB-n, --name=\fINAME\fB\fR
 
52
Use container identifier \fINAME\fR\&.
 
53
The container identifier format is an alphanumeric string.
 
54
.SH "EXAMPLES"
 
55
.TP
 
56
\fBlxc-wait -n foo -s RUNNING\fR
 
57
exits when 'RUNNING' is reached.
 
58
.TP
 
59
\fBlxc-wait -n foo -s 'RUNNING|STOPPED'\fR
 
60
exits when 'RUNNING' or 'STOPPED' state is reached.
 
61
.SH "DIAGNOSTIC"
 
62
.TP
 
63
\fBThe container was not found\fR
 
64
The specified container was not created before with
 
65
the \fBlxc-create\fR command.
 
66
.SH "SEE ALSO"
 
67
.PP
 
68
\fBlxc\fR(1),
 
69
\fBlxc-create\fR(1),
 
70
\fBlxc-destroy\fR(1),
 
71
\fBlxc-start\fR(1),
 
72
\fBlxc-stop\fR(1),
 
73
\fBlxc-execute\fR(1),
 
74
\fBlxc-console\fR(1),
 
75
\fBlxc-monitor\fR(1),
 
76
\fBlxc-wait\fR(1),
 
77
\fBlxc-cgroup\fR(1),
 
78
\fBlxc-ls\fR(1),
 
79
\fBlxc-ps\fR(1),
 
80
\fBlxc-info\fR(1),
 
81
\fBlxc-freeze\fR(1),
 
82
\fBlxc-unfreeze\fR(1),
 
83
\fBlxc.conf\fR(5)
 
84
.SH "AUTHOR"
 
85
.PP
 
86
Daniel Lezcano <daniel.lezcano@free.fr>