pbs_orderjob(3B)

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

πŸŽ€ pbs_orderjob(3B) β€” PBS manual, but make it group-chat πŸŽ€

okay bestie, welcome to the pbs_orderjob(3B) page from the PBS manual. We're talking queue reordering, and it's lowkey iconic πŸ’…βœ¨

✨ NAME ✨

pbs_orderjob β€” reorder pbs batch jobs in a queue πŸ¦‹

🌸 SYNOPSIS 🌸

#include <pbs_error.h>
#include <pbs_ifl.h>

int pbs_orderjob(int connect, char *job_id1, char *job_id2,
       char *extend)

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: this issues a batch request to swap the order of two jobs with a single queue. Slay.

An Order Job batch request is generated and sent to the server over the connection specified by connect, which is the return value of pbs_connect(). No cap, that's the whole vibe.

The parameters job_id1 and job_id2 identify which jobs are to be swapped. They are specified in the form: sequence_number.server. periodt.

The parameter extend is reserved for implementation defined extensions. Don't touch it unless you're the implementation, bestie πŸ™ˆ.

πŸ”₯ SEE ALSO πŸ”₯

go read these too, bestie:

  • qorder(1B)
  • qmove(1B)
  • qsub(1M)
  • pbs_connect(3B)

πŸ‘‘ DIAGNOSTICS πŸ‘‘

When the batch request generated by pbs_orderjob() function has been completed successfully by a batch server, the routine will return 0 (zero). Slay. Otherwise, a non zero error is returned. The error number is also set in pbs_errno β€” so check that too, fr fr.


That's the whole page, bestie! Cute sign-off from the Local source corner of the pbs_orderjob(3B) manual β€” this footer has no date, just pure PBS vibes πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from