1LXC-WAIT(1)                                                        LXC-WAIT(1)
2
3
4

NAME

6       lxc-wait - wait for a specific container state
7

SYNOPSIS

9       lxc-wait -n name -s states .SH "DESCRIPTION"
10
11       lxc-wait  waits  for a specific container state before exiting, this is
12       useful for scripting.
13

OPTIONS

15       -s states
16              Specify the container state(s) to wait for. The container states
17              can be ORed to specify several states.
18

COMMON OPTIONS

20       These options are common to most of lxc commands.
21
22       -?, -h, --help
23              Print a longer usage message than normal.
24
25       --usage
26              Give the usage message
27
28       -q, --quiet
29              mute on
30
31       -o, --logfile=FILE
32              Output to an alternate log FILE. The default is no log.
33
34       -l, --logpriority=LEVEL
35              Set  log  priority  to LEVEL. The default log priority is ERROR.
36              Possible values are : FATAL, CRIT, WARN,  ERROR,  NOTICE,  INFO,
37              DEBUG.
38
39              Note  that this option is setting the priority of the events log
40              in the alternate log file. It do not have effect  on  the  ERROR
41              events log on stderr.
42
43       -n, --name=NAME
44              Use  container identifier NAME.  The container identifier format
45              is an alphanumeric string.
46

EXAMPLES

48       lxc-wait -n foo -s RUNNING
49              exits when 'RUNNING' is reached.
50
51       lxc-wait -n foo -s 'RUNNING|STOPPED'
52              exits when 'RUNNING' or 'STOPPED' state is reached.
53

DIAGNOSTIC

55       The container was not found
56              The specified container was not created before with the lxc-cre‐
57              ate command.
58

SEE ALSO

60       lxc(1),  lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-
61       execute(1), lxc-kill(1), lxc-console(1),  lxc-monitor(1),  lxc-wait(1),
62       lxc-cgroup(1),  lxc-ls(1),  lxc-ps(1), lxc-info(1), lxc-freeze(1), lxc-
63       unfreeze(1), lxc.conf(5)
64

AUTHOR

66       Daniel Lezcano <daniel.lezcano@free.fr>
67
68
69
70                         Mon Jul 26 17:09:32 UTC 2010              LXC-WAIT(1)
Impressum