[CRIU] Restore Process
Pavel Emelyanov
xemul at parallels.com
Tue Jul 15 08:13:25 PDT 2014
On 07/15/2014 07:10 PM, Thouraya TH wrote:
> Hello,
>
> Yesterday, i have done the dump process
> http://criu.org/Simple_loop
>
> I'd like to test the restart Process,(in the example see url)
> _http://criu.org/Simple_loop_
> Restore the test process:
> # criu restore -d -t 2221 -vvv -o restore.log && echo OK
> OK
>
> i have saved all dump files in a directory:
> thouraya at thouraya-Lenovo-3000-N500:~/imgDir$ ls
> cgroup.img fifo-data.img mm-18885.img sigacts-18885.img
> core-13319.img fifo.img netlinksk.img signalfd.img
> core-18885.img filelocks-13319.img ns-files.img signal-p-13319.img
> creds-13319.img filelocks-18885.img packetsk.img signal-p-18885.img
> creds-18885.img fs-13319.img pagemap-13319.img signal-s-13319.img
> dump.log fs-18885.img pagemap-18885.img signal-s-18885.img
> eventfd.img ghost-file-1.img pages-1.img sk-queues.img
> eventpoll.img ids-13319.img pages-2.img stats-dump
> eventpoll-tfd.img ids-18885.img pipes-data.img tty.img
> ext-files.img inetsk.img pipes.img tty-info.img
> fanotify.img inotify.img pstree.img tunfile.img
> fanotify-mark.img inotify-wd.img reg-files.img unixsk.img
> fdinfo-2.img inventory.img remap-fpath.img
> fdinfo-3.img mm-13319.img sigacts-13319.img
>
> My question how get the process id (2221 in the example) ?
On restore the -t option is ignored, since pids to restore are
read from the image files.
Thanks,
Pavel
More information about the CRIU
mailing list