Changes
Jump to navigation
Jump to search
← Older edit
Simple TCP pair
(edit)
Revision as of 19:48, 9 February 2019
11 bytes removed
,
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 --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 ==
== See also ==
Ivinpolosony
2
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ