Changes

Jump to navigation Jump to search
48 bytes added ,  19:48, 9 February 2019
m
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 --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]]

Navigation menu