Global Options

-ckpoint <switch>

Arguments

<switch>

Checkpoint switch

enable | yes | on | 1

Enables the check point function for the application started

disable | no | off | 0

Disables the check point function for the application started. This is the default value

Use this option to enable/disable checkpoints capability. When this capability is disabled, other checkpoint options are ignored.

-ckpoint-interval <sec>

Arguments

<sec>

Interval between consecutive checkpoints in seconds

Use this option to turn on timer driven checkpoints. See also Timer Driven Checkpoint. The checkpoints are taken every <sec> seconds. If this option is not specified, signal driven checkpoint function may be used. See Explicit Signal Driven Checkpoint for more details.

-ckpoint-preserve <N>

Arguments

<N>

Maximal number of checkpoint images kept. The default value is 1

Use this option while running the checkpoint function to keep last <N> checkpoints to reduce checkpoint image space. By default, only the last checkpoint is kept.

-restart

Use this option to restart an application from one of the stored checkpoints. -ckpointlib, -ckpoint-prefix and -ckpoint-num options are meaningful for restarting. The executable name may be provided to the process manager, but is ignored. Taking checkpoints is allowed for the restarted application, so -restart option may be accompanied with -ckpoint and other applicable checkpoint options.

-ckpoint-num <N>

Arguments

<N>

Identifier of the checkpoint image to restart an application with. Valid values are any number equal or lower than the last checkpoint number. The default is the last checkpoint number.

Use this option while restarting an application. The checkpoint number <N> (counting from 0) is taken as a restart point. To determine the best choice for this value, examine the checkpoint storage directory setting with the -ckpoint-prefix option.

Note

The number of images determined by the -ckpoint-preserve option is kept at maximum.

The application will abort with an error message during startup if this checkpoint does not exist. By default, the last checkpoint is selected.