Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Inheriting FDs on restore
(edit)
Revision as of 14:29, 18 February 2016
13 bytes added
,
14:29, 18 February 2016
m
→Example 1 - Regular Files
Line 54:
Line 54:
(i.e., tmp/old).
(i.e., tmp/old).
+
<pre>
$ ./test.sh > /tmp/old &
$ ./test.sh > /tmp/old &
<pid>
<pid>
$ sudo criu dump -j -t <pid>
$ sudo criu dump -j -t <pid>
$ sudo criu restore -d -j --inherit-fd 'fd[7]:tmp/old' 7> /tmp/new
$ sudo criu restore -d -j --inherit-fd 'fd[7]:tmp/old' 7> /tmp/new
+
</pre>
This is an example of an application that does not depend on the state
This is an example of an application that does not depend on the state
Xemul
Bureaucrats
,
Administrators
2,257
edits