Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Simple TCP pair
(edit)
Revision as of 19:48, 9 February 2019
18 bytes added
,
19:48, 9 February 2019
m
→Then restore the client
Line 22:
Line 22:
Create a directory for images (<code>img-dir/</code> below) and dump the client
Create a directory for images (<code>img-dir/</code> below) and dump the client
<pre>
<pre>
−
#
crtools
dump --tree <tcp-howto-client-pid> --images-dir img-dir/ -
v 4
-o dump.log --shell-job --tcp-established
+
#
criu
dump --tree <tcp-howto-client-pid> --images-dir img-dir/ -
v4
-o dump.log --shell-job --tcp-established
</pre>
</pre>
Line 32:
Line 32:
It's done like this
It's done like this
<pre>
<pre>
−
#
crtools
restore
--tree <tcp-howto-client-pid>
--images-dir img-dir/ -
v 4
-o rst.log --shell-job --tcp-established
+
#
criu
restore --images-dir img-dir/ -
v4
-o rst.log --shell-job --tcp-established
</pre>
</pre>
−
That's it. After this in the terminal you launched
crtools
from you should see the
contunuing
output of the tcp client.
+
That's it. After this in the terminal you launched
criu
from you should see the
continuing
output of the tcp client.
+
+
== See also ==
+
+
* [[TCP connection]]
[[Category:HOWTO]]
[[Category:HOWTO]]
+
[[Category:Sockets]]
Ivinpolosony
2
edits