Let us first fire up this program:
bash[1015]%./t-20001030-01 * ** *** **** ***** ****** ******* ******** ********* ********** *********** ************ ************* ************** *************** **************** ***************** ****************** ******************* ******************** *********************and send it a checkpoint signal (in a different window):
bash[1001]%ps -u zegerh 10380 0.0 1.0 1772 1016 pts/7 S 15:18 0:00 -bash zegerh 10489 0.3 1.6 3428 1580 pts/7 S 15:24 0:00 ./t-20001030-01 . . . dasnix2:[~] bash[1002]%kill -USR1 10489Now the application may be restarted as follows:
dasnix2:[~] bash[1003]%ckpt/checkpointFile ********************** *********************** ************************ ************************* ************************** ***************************It is seen that the application starts exactly at the point where it left off.