First thing to do is to check the kernel support being up-to-date with the
+
+
<pre>
+
# criu check
+
</pre>
+
+
command. If it says "Looks good", then you can proceed, otherwise dump/restore may not work. If you are using the mainstream kernel, but not our one with some custom patches applied, you should try the
+
+
<pre>
+
# criu check --ms
+
</pre>
+
+
command instead. If will skip checking for some kernel functionality, that is known to be not yet merged upstream (criu knows how to work without it, though it's sometimes not correct).
To checkpoint a program with pid 1234 and write all image files into directory checkpoint one should type
To checkpoint a program with pid 1234 and write all image files into directory checkpoint one should type