[CRIU] [PATCH 5/5] docs: Add EXAMPLES section
Cyrill Gorcunov
gorcunov at openvz.org
Fri Jul 20 15:52:26 EDT 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Documentation/crtools.txt | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Documentation/crtools.txt b/Documentation/crtools.txt
index 16c942f..b4319de 100644
--- a/Documentation/crtools.txt
+++ b/Documentation/crtools.txt
@@ -82,6 +82,18 @@ OPTIONS
-h|--help::
Print inline help.
+EXAMPLES
+--------
+
+To checkpoint a program with pid '1234' and write all image files into
+directory 'checkpoint' one should type
+
+ crtools dump -D checkpoint -t 1234
+
+To restore this program detaching crtools itself, one should type
+
+ crtools restore -d -D checkpoint -t 1234
+
AUTHOR
------
OpenVZ team.
--
1.7.7.6
More information about the CRIU
mailing list