Difference between revisions of "CLI"

From CRIU
Jump to navigation Jump to search
Line 1: Line 1:
== Checkpoint procedure ==
+
== Command line syntax ==
 +
 
 +
Syntax is pretty trivial one but partially context dependent.
  
Checkpoint procedure is pretty trivial. crtools command line options syntax is the following
 
 
<code>
 
<code>
crtools -d [-p|-t] $pid
+
  crtools [-c] [-D dir] (-s|-d|-r) [-p|-t] $pid
 
</code>
 
</code>
 +
 +
* '''c''' - to continue execution of a task once checkpoint is complete in case of '''checkpointing''' stage, and show contents of memory pages in case of '''show''' stage
 +
* '''D dir''' - write/read dump images to/from the specified directory
 +
* '''s''' - read image files and show their contents
 +
* '''d''' - checkpoint a process
 +
* '''r''' - restore a process

Revision as of 21:08, 14 January 2012

Command line syntax

Syntax is pretty trivial one but partially context dependent.

 crtools [-c] [-D dir] (-s|-d|-r) [-p|-t] $pid

  • c - to continue execution of a task once checkpoint is complete in case of checkpointing stage, and show contents of memory pages in case of show stage
  • D dir - write/read dump images to/from the specified directory
  • s - read image files and show their contents
  • d - checkpoint a process
  • r - restore a process