<< Previous question   Table of contents   MOSIX home   Next question >>
How to trigger a checkpoint
Checkpoints can be triggered in 3 ways:
The MOSIX checkpoint interface is documented in "man MOSIX".
It contains the following files in the proc file system:
- By providing the "-C< file-name> " and "-A< integer-number>"
flags to mosrun.
This will perform a periodic checkpoint every "integer-number" of minutes
and the checkpointed file will be saved to the files "file-name.1",
"file-name.2", etc. Read the mosrun manual for details.
- By using the "migrate < pid> checkpoint" command to perform a
checkpoint at a specific time externally to the program.
Read the migrate command manual for details.
- From within the program, by using the MOSIX checkpoint interface.
These pseudo-files allow the process to modify its checkpoint parameters
and to trigger a checkpoint operation.