Line 1: |
Line 1: |
− | == Synopsis ==
| + | This is a collection of articles describing specific CRIU command line options. |
− | <pre>
| |
− | 'crtools' [-c] [-s] [-f <file>] [-d] [-n] [-o <path>] [-D <path>] [-v [num]] [--help] <command> (-p|-t) <pid>
| |
− | </pre>
| |
| | | |
− | == Description == | + | == Actions == |
− | 'crtools' is command line utility to steer checkpoint and restore procedure.
| + | {{Special:PrefixIndex/CLI/cmd/|stripprefix=1}} |
| | | |
| == Options == | | == Options == |
− | <pre>
| + | {{Special:PrefixIndex/CLI/opt/|stripprefix=1}} |
− | <command>::
| |
− | One of the follwong commands
| |
− | * 'dump'
| |
− | to initiate checkpoint procedure
| |
− | * 'restore'
| |
− | to restore previously checkpointed processes
| |
− | * 'show'
| |
− | to decode binary dump files and show their contents in human
| |
− | readable format
| |
− | * 'check'
| |
− | to test whether the kernel support is up-to-date
| |
| | | |
− | -c::
| + | == Deprecated stuff == |
− | In case of 'show' command the dumped pages content will be shown in hex format.
| |
− | In case of 'dump' command processes being checkpointed wont be killed once
| |
− | checkpoint complete but rather continue execution.
| |
| | | |
− | -D <path>::
| + | === Actions === |
− | Use path 'path' as a base directory where to look for dump files set. This
| + | {{Special:PrefixIndex/CLI/deprecated/cmd/|stripprefix=1}} |
− | commands allpies to any <command>.
| |
| | | |
− | -s::
| + | === Options === |
− | Leave tasks in stopped state after checkpoint instead of killing them.
| + | {{Special:PrefixIndex/CLI/deprecated/opt/|stripprefix=1}} |
| | | |
− | -f <file>::
| + | == See also == |
− | This option is valid for 'show' command only and allows to see content of
| |
− | the <file> specified.
| |
| | | |
− | -p <pid>:: | + | * [[Advanced usage]] article for more options |
− | Checkpoint only one process specified by 'pid' instead of the whole process
| + | * [[RPC]] -- an API to C/R functionality |
− | tree.
| + | * [[API compliance]] |
| + | * [[:Category:HOWTO]] |
| | | |
− | -t <pid>::
| + | [[Category: API]] |
− | Checkpoint the whole process tree starting from 'pid'.
| |
− | | |
− | -d::
| |
− | Detach 'crtools' itself once restore is complete.
| |
− | | |
− | -n <ns>::
| |
− | Checkpoint namespaces. Namespaces must be separated by comma.
| |
− | Currently supported namespaces: uts, ipc.
| |
− | | |
− | -o <file>::
| |
− | Write logging messages to 'file'.
| |
− | | |
− | -v <num>::
| |
− | Set logging level to 'num'. Valid options are: 0 - (silent, error messages
| |
− | only), 1 - informative (default), 2 - debug messages.
| |
− | </pre>
| |