1pbs_checkpointjob(3B) PBS pbs_checkpointjob(3B)
2
3
4
6 pbs_checkpointjob - checkpoint a pbs batch job
7
9 #include <pbs_error.h>
10 #include <pbs_ifl.h>
11
12 int pbs_checkpointjob(int connect, char *job_id, char *extend)
13
15 Issue a batch request to checkpoint a batch job.
16
17 For pbs_checkpointjob() a "Checkpoint Job" batch request is generated
18 and sent to the server over the connection specified by connect which
19 is the return value of pbs_connect(). The server will reply when the
20 job has completed the checkpoint operation. Checkpointing is only
21 allowed for jobs that are marked as checkpointable.
22
23 These requests requires that the issuing user have operator or adminis‐
24 trator privilege.
25
26 The argument, job_id, identifies which job is to be checkpointed, it is
27 specified in the form: sequence_number.server
28
29 The argument, extend, is reserved for implementation defined exten‐
30 sions.
31
33 pbs_connect(3B)
34
36 When the batch request generated by the pbs_checkpointjob() functions
37 has been completed successfully by a batch server, the routines will
38 return 0 (zero). Otherwise, a non zero error is returned. The error
39 number is also set in pbs_errno.
40
41
42
43
44Local pbs_checkpointjob(3B)