pbs_checkpointjob(3B)
β¨ pbs_checkpointjob(3B) β¨
okay so bestie, this is the PBS manual page for pbs_checkpointjob, and it's literally about asking a batch job to checkpoint itself. iconic server behavior, no cap. π
π¦ NAME π¦
pbs_checkpointjob β checkpoint a pbs batch job
π SYNOPSIS π
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_checkpointjob(int connect, char *job_id, char *extend)
π DESCRIPTION π
okay so what this does is issue a batch request to checkpoint a batch job. that's the whole vibe. β¨
For pbs_checkpointjob(), a "Checkpoint Job" batch request gets generated and sent to the server over the connection specified by connect, which is literally the return value of pbs_connect(). The server will reply when the job has completed the checkpoint operation. Checkpointing is only allowed for jobs that are marked as checkpointable β so if your job isn't marked that way, this is not the move. π«Ά
These requests require that the issuing user have operator or administrator privilege. yes, permissions are the main character here. π
The argument job_id identifies which job is to be checkpointed, and it's specified in the form:
sequence_number.server
The argument extend is reserved for implementation defined extensions. so don't expect it to do a fun little extra thing unless the implementation says so, bestie. π
πΈ SEE ALSO πΈ
pbs_connect(3B)
π DIAGNOSTICS π
When the batch request generated by the pbs_checkpointjob() functions has been completed successfully by a batch server, the routines will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno. so like, check pbs_errno if things go sideways, iykyk. π
π cute sign-off: this page comes from the Local source/version corner, tagged pbs_checkpointjob(3B) β and the footer doesn't list a date, so I'm not gonna invent one, periodt. π
π¦ where this page comes from
- epel 9: torque-devel 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms