From 2f3727f0e2219e07c2b256beaf881aa950fc7ccd Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 23 Jul 2012 07:09:39 +0400 Subject: [PATCH] docs: Add EXAMPLES section Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- Documentation/crtools.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/crtools.txt b/Documentation/crtools.txt index 16c942fda..b4319de4b 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.