pbs_ralter(1B)
๐ pbs_ralter โ like, the manual page bestie
okay so this is pbs_ralter, part of the big PBS Professional family of manual pages, and it lives in section 1B (user commands, the "B" is for PBS-specific ones, iykyk). Think of it as the reservation glow-up command. Let's get into it ๐
โจ NAME โจ
pbs_ralter โ modify an existing reservation. that's it, that's the whole vibe: you have a reservation and you want to change it. slay.
๐ฆ SYNOPSIS ๐ฆ
pbs_ralter [-D <duration>] [-E <end time>] [-G <auth group list>]
[-I <block time>] [-l select=<select spec>]
[-m <mail points>] [-M <mail list>]
[-N <reservation name>] [-R <start time>]
[-U <auth user list>] <reservation ID>
pbs_ralter -Wforce [-D <duration>] [-E <end time>] [-R <start time>]
<reservation ID>
pbs_ralter --version
three whole ways to invoke her, depending on whether you're being a normal user or an all-powerful admin using -Wforce, or you just want the version number and nothing else. ๐ซ
๐ธ DESCRIPTION ๐ธ
so pbs_ralter is the command you use to alter an existing reservation. and when I say existing reservation I mean literally any of them โ an individual job-specific one, an advance one, a maintenance one, or the next or current occurrence of a standing reservation. all of them. equal opportunity reservation-altering. ๐
things you can change: the start time, the end time, the duration, the events that generate mail, the mail recipient list, the authorized groups, the authorized users, and the reservation name. that's a whole makeover. ๐
the PBS Administrator can also use the -Wforce option โ that one lets them change the start time, end time, or duration of a reservation, and it overrides the scheduler's actions. admin said i'm the scheduler now. ๐
โญ what happens after you ask
okay so after you request the change, it gets either confirmed or denied. that's the whole drama.
if it's denied, the reservation is not deleted โ it's left exactly as it is โ and this message shows up in the server's log:
Unable to alter reservation <reservation ID>
if it's confirmed, this one shows up in the server's log instead:
Reservation alter successful for <reservation ID>
๐ how to find out if the change was allowed
three ways, bestie, take your pick:
- use the
pbs_rstatcommand: check whether the reservation attribute(s) you altered actually changed - use the interactive option: check for confirmation after the blocking time has run out
- check the server log for the confirmation or denial messages
๐ซ states, because of course there are states
before the change is confirmed or denied, the change is unconfirmed, and the reservation state is AL.
once a reservation change is confirmed, the reservation state is CO or RN.
if the reservation has not started and it can't be confirmed on the same vnodes, PBS goes looking for another set of vnodes. scavenger hunt but make it infrastructure. ๐ง
if the reservation is altered, PBS logs a Y accounting record. noted. ๐
๐ซถ Caveats and Restrictions
lowkey the important part, do not skip ๐
- you cannot change the start time of a reservation if jobs are running in it.
- if you change the end time of a reservation so that it ends before a job running in the reservation finishes, the job is killed when the reservation ends. like, actually killed. no cap. ๐
๐ Required Privilege
without the Wforce option, this command can be used by the reservation owner or the PBS Administrator.
with the Wforce option, this command can be used only by the PBS Administrator. sorry bestie, that one's admin-only. ๐ญ
๐ฅ Options to pbs_ralter ๐ฅ
-D<duration>โ specifies the reservation's new duration. and here's the iconic part: you can use this even when the reservation is running and has jobs that are submitted to and/or are running in the reservation. yes really. can be specified with start and/or end time. PBS calculates anything not specified. when specified without start or end time, PBS keeps the previous start time. ๐งฎ if you change the duration to less than the time the reservation has already run, PBS deletes the reservation. okay so be careful with that one. โ ๏ธ Format: Duration, as seconds orhh:mm:ss-E<end time>โ specifies the reservation's new end time. same deal as-D: usable even when the reservation is running and has jobs submitted to and/or running in it. ๐ Format: Datetime-G<auth group list>โ a comma-separated list of names of groups who can or cannot submit jobs to this reservation. sets the reservation'sAuthorized_Groupsattribute to auth group list. this list becomes theacl_groupslist for the reservation's queue. more specific entries should be listed before more general ones, because the list is read left-to-right and the first match determines access. order matters, bestie, it's giving priority list. ๐ if both theAuthorized_UsersandAuthorized_Groupsreservation attributes are set, a user must belong to both in order to be able to submit jobs to this reservation. group names are interpreted in the context of the server's host, not the context of the host from which the job is submitted. important distinction โจ see theAuthorized_Groupsreservation attribute in thepbs_resv_attributes(7B)man page. Syntax:[+|-]<group name>[,[+|-]<group name> ...]Default: no default; group names are unchanged-I<block time>โ (capital I, do not confuse her with lowercase-l) specifies interactive mode. thepbs_raltercommand will block, up to block time seconds, while waiting for the reservation's change request to be confirmed or denied. like it literally just sits there waiting. patient queen. โณ the value for block time must be positive. thepbs_raltercommand returns either the statusCONFIRMEDor the statusDENIED. Format: Integer Default: Not interactive-lselect=<select spec>โ (lowercase L) specifies a new select specification for the reservation. the new specification must be a subset of the same chunks requested by the original reservation. no inventing new chunks, that's not the vibe. if the reservation is started, it can't be used to release chunks where reservation jobs are running. if the reservation is started and degraded, you must release all unavailable chunks in order to alter the reservation select specification. all of them. not some. all. ๐ค-m<mail points>โ specifies the set of events that cause mail to be sent to the list of users specified in the-M <mail list>option. Format: String Syntax: either of- any combination of
"a","b","c"or"e", or - the single character
"n"
- any combination of
๐ Suboptions to -m
aโ Notify if reservation is terminated for any reasonbโ Notify when the reservation period beginscโ Notify when the reservation is confirmedeโ Notify when the reservation period endsnโ Send no mail. Cannot be used with any ofa,b,core.
Default: No default; if not specified, mail events are unchanged
-M<mail list>โ the list of users to whom mail is sent whenever the reservation transitions to one of the states specified in the-m <mail points>option. ๐ฌ Format:<username>[@<hostname>][,<username>[@<hostname>]...]Default: No default; if not specified, user list is unchanged-N<reservation name>โ specifies a name for the reservation. give her a little identity โจ Format: String up to 15 characters in length. It must consist of printable, non-white space characters with the first character alphabetic. Default: No default; if not specified, reservation name is unchanged-R<start time>โ specifies the reservation's new start time. this option can be used either when the reservation is not running or there are no jobs submitted to the reservation. you cannot use this option when a reservation is not empty and has started running. ๐ซ the specifications for providing the time are the same as forpbs_rsub: if the day,DD, is not specified, it defaults to today if the timehhmmis in the future. otherwise, the day is set to tomorrow. for example, if you alter a reservation with the specification-R 1110at 11:15 a.m., it is interpreted as being for 11:10 a.m. tomorrow. time travel but the disappointing kind ๐ญ if the month portion,MM, is not specified, it defaults to the current month, provided that the specified dayDDis in the future. otherwise, the month is set to next month. similar rules apply to the two other optional, left-side components. Format: Datetime-U<auth user list>โ a comma-separated list of users who are and are not allowed to submit jobs to this reservation. sets the reservation'sAuthorized_Usersattribute to auth user list. this list becomes theacl_usersattribute for the reservation's queue. more specific entries should be listed before more general ones, because the list is read left-to-right and the first match determines access. the reservation creator's username is automatically added to this list, whether or not the reservation creator specifies this list. you're always on the list, bestie, it's your reservation ๐ซถ if both theAuthorized_UsersandAuthorized_Groupsreservation attributes are set, a user must belong to both in order to be able to submit jobs to this reservation. see theAuthorized_Usersreservation attribute in thepbs_resv_attributes(7B)man page. Syntax:[+|-]<username>[@<hostname>][,[+|-]<username>[@<hostname>]...]Default: no default; user list is unchanged-Wforceโ enforces changes made to the reservation start time, end time, or duration, regardless of the actions of the scheduler. can be used only by the PBS Administrator.
ok so real talk: with this option you can force PBS to oversubscribe resources, in which case you (the administrator) may need to manage them yourself. that's not a cute look if you weren't ready for it. ๐
cannot be used to change the start time of a reservation in which jobs are running.
--versionโ thepbs_raltercommand returns its PBS version information and exits. this option can only be used alone. she does not do plus-ones. ๐
๐ OPERANDS ๐
the pbs_ralter command takes a reservation ID.
for an advance or job-specific reservation this has the form:
R<sequence number>[.<server name>][@<remote server>]
for a standing reservation this has the form:
S<sequence number>[.<server name>][@<remote server>]
for a maintenance reservation this has the form:
M<sequence number>[.<server name>][@<remote server>]
@<remote server> specifies a reservation at a server other than the default server. so you can reach out across servers, iconic. ๐
and that's the whole page, bestie ๐ this edition is from Local, dated 28 February 2021, and it's the pbs_ralter(1B) page from PBS Professional. go forth and alter some reservations responsibly ๐โจ๐ฆ
๐ฆ 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