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