Difference between revisions of "CLI"

From CRIU
Jump to navigation Jump to search
Line 4: Line 4:
  
 
<code>
 
<code>
   crtools [-c] [-D dir] (-s|-d|-r) [-p|-t] $pid
+
   crtools [-c] [-D dir] (show|dump|restore) [-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
 
* '''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
 
* '''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:59, 24 January 2012

Command line syntax

Syntax is pretty trivial one but partially context dependent.

 crtools [-c] [-D dir] (show|dump|restore) [-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