在这种应用中,可以以特定的间隔(检查点)冻结一组相关的进程,然后解冻特定的时间点以回到某个已知状态。
In this application, you could freeze a collection of related processes at specific intervals (checkpoints), then thaw a particular epoch as a way to roll back to a known good state.
如果您刚好在不同的时间运行该命令,您将看到date命令列出在进程状态中,但对于该脚本,发生这种情况的几率不大。
If you happened to run the command at a different instant, you might see the date command listed in the process status instead, but the odds are very small with this script.
此进程可以长时间运行,因此它可以管理状态机状态的持久性。
This process is long running so that it manages persistence of the state of the state machine.
应用推荐