Line 28:
Line 28:
CRIU will open /proc/<client's_pid>/fd/<images_dir_fd>, so it will work, if client is in another namespace.
CRIU will open /proc/<client's_pid>/fd/<images_dir_fd>, so it will work, if client is in another namespace.
−
For other options description, please, run "criu -h".
+
For other options description, please run "criu -h".
=== Dump response ===
=== Dump response ===
Line 67:
Line 67:
If no address is set, "/tmp/criu_service.socket" is used by default.
If no address is set, "/tmp/criu_service.socket" is used by default.
You may also like to demonize server(-d), set log level(-v<N>) or set log file(-o <logname>).
You may also like to demonize server(-d), set log level(-v<N>) or set log file(-o <logname>).
−
For the full list of options, please, run "criu -h".
+
For the full list of options, please run "criu -h".
== Client ==
== Client ==
Client, in its turn, must connect to service socket, send criu_msg with request in it, and wait for a criu_msg with response.
Client, in its turn, must connect to service socket, send criu_msg with request in it, and wait for a criu_msg with response.
You can find examples of client programs in C and Python in test/rpc/.
You can find examples of client programs in C and Python in test/rpc/.