Can you freeze a C/C++ process and continue it on a different host?

前端 未结 9 1239
栀梦
栀梦 2021-02-14 02:11

I was wondering if it is possible to generate a \"core\" file, copy if to another machine and then continue execution of the a core file on that machine?

I have seen the

9条回答
  •  囚心锁ツ
    2021-02-14 03:07

    As of Feb. 2017, there's a fairly stable and mature tool, called CRIU that depends on updates to the Linux Kernel made in version 3.11 (as this was done in Sep. 2013, most modern distros should have those incorporated into their kernel versions).

    It can be installed via aptitude by simply calling sudo apt-get install criu.

    Instructions on how to use it.

提交回复
热议问题