Storing entire process state on disk and restoring it later? (On Linux/Unix)

前端 未结 3 2011
孤独总比滥情好
孤独总比滥情好 2021-02-12 22:18

I would like to know: Is there a system call, library, kernel module or command line tool I can use to store the complete state of a running program on the disk?

相关标签:
3条回答
  • 2021-02-12 22:48

    A core dump is basically this, so yes, it must be possible to get.

    What you really want is a way to restore that dump as a running program. That might be more difficult.

    0 讨论(0)
  • 2021-02-12 22:53

    Something like this? You can also check out the checkpointing page on wikipedia.

    0 讨论(0)
  • 2021-02-12 23:00

    You should take a look at the BLCR project from Berkeley Lab. This is widely used by several MPI implementations to provide Checkpoint / Restart capabilities for parallel applications.

    0 讨论(0)
提交回复
热议问题