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-CHECKPOINT" "1" "02 March 2012" "IBM" ""
9
lxc-checkpoint \- checkpoint a running container (not implemented yet)
13
--statefile=\fIFILE\fB
15
--name=\fINAME\fB \fR [ \fB-k|-p\fR ]
19
\fBlxc-checkpoint\fR is a command
20
to checkpoint the specified container
21
\fINAME\fR and dumps its state into the file
23
option \fB--kill\fR is specified, the application
24
running in the container will terminate after the checkpoint
25
just before resuming its execution. If the
26
option \fB--pause\fR is specified, the application
27
will be stopped after the checkpoint just before resuming
28
execution. The command \fBlxc-unfreeze\fR will
30
.SH "CHECKPOINT OPTIONS"
32
\fB-S, --statefile=\fIFILE\fB\fR
33
write the state of the container in this
35
This option is exclusive with \fB--statefd\fR below.
37
\fB-d, --statefd=\fIFD\fB\fR
38
write the state of the container in this
39
\fIFD\fR file descriptor.
40
This option is exclusive with above \fB--statefile\fR\&.
43
Kill container processes after checkpoint. the processes are sent
46
This option is mutually exclusive with the following
50
Pause container processes after checkpoint. The container
51
will be stopped until you resume it. This option is
52
mutually exclusive with previously mentionned
56
These options are common to most of lxc commands.
59
Print a longer usage message than normal.
62
Give the usage message
67
\fB-o, --logfile=\fIFILE\fB\fR
68
Output to an alternate log
69
\fIFILE\fR\&. The default is no log.
71
\fB-l, --logpriority=\fILEVEL\fB\fR
73
\fILEVEL\fR\&. The default log
74
priority is ERROR\&. Possible values are :
80
Note that this option is setting the priority of the events
81
log in the alternate log file. It do not have effect on the
82
ERROR events log on stderr.
84
\fB-n, --name=\fINAME\fB\fR
85
Use container identifier \fINAME\fR\&.
86
The container identifier format is an alphanumeric string.
89
To start a new container 123 computing decimals of pi
92
lxc-execute -n 123 -- pi1 -d 500000
93
lxc-execute --name=123 -- pi1 -d 500000
97
to checkpoint the same container in \fBdump-death\fR
101
lxc-checkpoint -n 123 -S /share/123/chkpt1 -k
102
lxc-checkpoint --name=123 -S /share/123/chkpt1 -k
106
to checkpoint the same container and \fBpause\fR it
109
lxc-checkpoint -n 123 -S /share/123/chkpt1 -p
110
lxc-checkpoint --name=123 -S /share/123/chkpt1 -p
115
Actually, this command does not operate. Its description
116
helps to define a CLI api for future Checkpoint / Restart
122
\fBlxc-destroy\fR(1),
125
\fBlxc-execute\fR(1),
127
\fBlxc-console\fR(1),
128
\fBlxc-monitor\fR(1),
135
\fBlxc-unfreeze\fR(1),
140
Daniel Lezcano <daniel.lezcano@free.fr>