Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Simple loop
(edit)
Revision as of 03:51, 13 December 2018
122 bytes added
,
03:51, 13 December 2018
m
→Dump
:
Add a single line tip
Line 38:
Line 38:
# criu dump -t 2221 -vvv -o dump.log && echo OK
# criu dump -t 2221 -vvv -o dump.log && echo OK
OK
OK
+
+
'''Tip:''' Alternatively, you can combine both steps into a single command: <code># criu dump -t $(pgrep test.sh) -v4 -o dump.log</code>
=== Check dump files ===
=== Check dump files ===
Line 56:
Line 58:
Restore the test process:
Restore the test process:
−
# criu restore -d
-t 2221
-vvv -o restore.log && echo OK
+
# criu restore -d -vvv -o restore.log && echo OK
OK
OK
Line 88:
Line 90:
=== Restore ===
=== Restore ===
−
# criu restore -vvvv -o restore.log
-t 2621
--shell-job
+
# criu restore -vvvv -o restore.log --shell-job
Fri Apr 12 12:41:09 MSK 2013
Fri Apr 12 12:41:09 MSK 2013
Fri Apr 12 12:41:10 MSK 2013
Fri Apr 12 12:41:10 MSK 2013
[[Category:HOWTO]]
[[Category:HOWTO]]
Radostin
278
edits