IBM

lsb_chkpntjob

Checkpoints a job.

Checkpoints a job.

#include <lsf/lsbatch.h>

int lsb_chkpntjob(LS_LONG_INT jobId, time_t period, int options)

Parameters:
jobId The job to be checkpointed.
period The checkpoint period in seconds. The value 0 disables periodic checkpointing.
options The bitwise inclusive OR of some of the following:
LSB_CHKPNT_KILL Checkpoint and kill the job as an atomic action.
LSB_CHKPNT_FORCE Checkpoint the job even if non-checkpointable conditions exist.
Data Structures:
none
Define Statements:
chkpnt_job_option
Returns:
int:0
The function was successful.

int:-1
The function failed.

Note:
Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
Errors:
On failure, lsberrno is set to indicate the error.
Equivalent line commands:
bchkpnt
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
none


     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.