pbs_locjob(3B)
πΈ NAME β pbs_locjob(3B) from the PBS manual πΈ
pbs_locjob β locate current location of a pbs batch job. periodt, that's the name vibe bestie π
β¨ SYNOPSIS β¨
#include <pbs_error.h>
#include <pbs_ifl.h>
char *pbs_locjob(int connect, char *job_id, char *extend)
π¦ DESCRIPTION π¦
okay so pbs_locjob() issues a batch request to locate a batch job. If the server currently manages the batch job, or knows which server does currently manage the job, it will reply with the location of the job. no cap, that's the whole locate-job moment π₯
A Locate Job batch request is generated and sent to the server over the connection specified by connect, which is the return value of pbs_connect(). like, that's the connection handshake bestie π«Ά
The argument job_id identifies which job is to be located, and it's specified in the form:
sequence_number.server
The argument extend is reserved for implementation defined extensions. It is not currently used by this function. so rn it's just vibing in the signature π
The return value is a pointer to a character sting β yes the page says "sting", iconic typo behavior π β which contains the current location if known. The syntax of the location string is:
queue@server_name
If the location of the job is not known, the return value is the NULL pointer. literally the NULL pointer, not a maybe π€
π SEE ALSO π
qsub(1B)pbs_connect(3B)
π DIAGNOSTICS π
When the batch request generated by the pbs_locjob() function has been completed successfully by a batch server, the routine will return a non null pointer to the destination. Otherwise, a null pointer is returned. The error number is set in pbs_errno. fr fr, that's the diagnostics tea π
mwah π source/version footer check: Local and pbs_locjob(3B) β no date listed, so we're not inventing one π
π¦ 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