English 中文(简体)
将整个过程放在软盘上,然后恢复? (关于LC/Unix)
原标题:Storing entire process state on disk and restoring it later? (On Linux/Unix)

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?

这就是说:我要完全丢弃记忆、排版、打头、登记、校对和档案描述,一个程序目前正在用于硬车的档案中,并且能够随后顺利地恢复,就像一个宣传者“安全状态”或一个虚拟机器“快车”。

如果可能的话,我也希望有多个方案国家的“备份”,因此,如果方案因某种原因死亡,我可以再回到以前的执行点。

这是可能的吗?

问题回答

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.

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

你们真的想要的是把垃圾堆放作为经营方案的一种途径。 这可能更加困难。





相关问题
Using Java to retrieve the CPU Usage for Window s Processes

I am looking for a Java solution to finding the CPU usage for a running process in Windows. After looking around the web, there seems to be little information on a solution in Java. Keep in mind, I am ...

What resources are shared between threads?

Recently, I have been asked a question in an interview what s the difference between a process and a thread. Really, I did not know the answer. I thought for a minute and gave a very weird answer. ...

Run a program from PowerShell with timeout

I ll write a script that runs a program and wait for it finished. But if the program is not finished within a specified time I want that the program is killed.

Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

Limit the Number of Created Processes

I have two classes: Action class, that has a method for executing VBScript files, and Item class that contains a list of Action instances. My problem is that I want to limit the number of VBScript ...

if-statement always evaluates to TRUE

Is there any reason why this script always returns "running", regardless of whether my process is started or stopped? if ps ax | grep -v grep | grep "processName" > /dev/null then echo $"...

Python library for Linux process management [closed]

Through my web interface I would like to start/stop certain processes and determine whether a started process is still running. My existing website is Python based and running on a Linux server, so ...

热门标签