pbs_checkpointjob(3B)

πŸ“¦ version 6.1.3, in epel 9, nixos 26.05, nixpkgs unstable

✨ 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