pbs_confirmresv(3B)
π NAME
okay so this is the pbs_confirmresv(3B) page for PBS Professional, and the whole point is: pbs_confirmresv β confirm a PBS reservation β¨ no cap.
πΈ SYNOPSIS
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_confirmresv(int connect, char *reservationID, char *location,
char *extend)
π¦ DESCRIPTION
Bestie. This function issues a batch request to confirm a PBS advance, standing, or maintenance reservation. Itβs giving very official, very reserved, very PBS.
It generates a Confirm Reservation (75) batch request and sends it to the server over the connection specified by connect. Iconic behavior, honestly.
π ARGUMENTS
connectβ this is the return value ofpbs_connect(). It specifies the connection over which to send the batch request to the server. Lowkey important.reservationIDβ the reservation to be confirmed. The formats are:- advance reservation:
R<sequence number>.<server name> - standing reservation:
S<sequence number>.<server name> - maintenance reservation:
M<sequence number>.<server name>
- advance reservation:
locationβ a string describing the vnodes and resources to be used for the reservation. The format is:
(<vchunk>)[+(<vchunk>) ...]
where vchunk has the format:
<vnode name>:<vnode resources>[+<vnode name>:<vnode resources> ...]
and where vnode resources has the format:
<resource name>=<value>[:<resource name>=<value> ...]
Example:
-H (VnodeA:mem=100kb:ncpus=1)+
(VnodeB:mem=100kb:ncpus=2+ VnodeC:mem=100kb)
start_timeβ an unsigned long containing the start time in seconds since epoch. Itβs used only for ASAP reservations (reservations created by usingpbs_ralter -W qmove=<jobID>on an existing job). Keeping this exact, bestie.extendβ character string for specifying confirmation/non-confirmation action:- To confirm a normal reservation, pass in
PBS_RESV_CONFIRM_SUCCESS. - To have an unconfirmed reservation deleted, pass in
PBS_RESV_CONFIRM_FAIL. - To have the scheduler set the time when it will try to reconfirm a degraded reservation, pass in
PBS_RESV_CONFIRM_FAIL.
- To confirm a normal reservation, pass in
Okay so yes, PBS_RESV_CONFIRM_FAIL shows up for both the delete-unconfirmed-reservation move and the let-the-scheduler-set-the-reconfirm-time move. Thatβs literally what the page says, so donβt come for me π.
π RETURN VALUE
The routine returns 0 (zero) on success. Slay.
On error, the routine returns a non-zero exit value, and the error number is available in the global integer pbs_errno. So check that global, bestie.
π SEE ALSO
pbs_rdel(1B)pbs_connect(3B)
This page is brought to you by the Local source, dated 15 November 2019, and its manual name is pbs_confirmresv(3B). Mwah π
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms