qterm(8B)
β¨ qterm(8B) β the "bye bye server" manual β¨
Okay bestie, so this is the manpage for qterm(8B) from PBS Professional, and it's literally the command you use when you need to say peace out to your PBS servers. Let me break it down for you π
πΈ NAME πΈ
qterm β terminate one or both PBS servers, and optionally terminate scheduler(s) and/or MoMs
π SYNOPSIS π
qterm [-f | -F | -i] [-m] [-s] [-t <type>] [<server>[ <server> ...]]
qterm --version
π DESCRIPTION π
So the qterm command terminates a PBS batch server. That's the main character energy right there.
Once the server is terminating, no new jobs are accepted by the server, and no jobs are allowed to begin execution. The impact on running jobs depends on the way the server is shut down β like, it's giving "different vibes for different shutdown types".
The qterm command does not exit until the server has completed its shutdown procedure. So it's not ghosting you β it waits for the whole thing to finish.
If the complex is configured for failover, and the primary server is shut down, the normal behavior for the secondary server is to become active. The qterm command provides options to manage the behavior of the secondary server; it can be shut down, forced to remain idle, or shut down in place of the primary server.
Required Privilege In order to run the qterm command, you must have PBS Operator or Manager privilege. So like, you need the right access, no cap.
π OPTIONS π
(no options)β Theqtermcommand defaults toqterm -t quick. So if you just run it with no flags, it's doing the quick thing by default.-fβ If the complex is configured for failover, shuts down both the primary and secondary servers. Without the-foption,qtermshuts down the primary server and makes the secondary server active. The-foption cannot be used with the-ior-Foptions. So like, don't try to combine them, bestie.-Fβ If the complex is configured for failover, shuts down only the secondary server, leaving the primary server active. The-Foption cannot be used with the-for-ioptions. Periodt.-iβ If the complex is configured for failover, leaves the secondary server idle when the primary server is shut down. The-ioption cannot be used with the-for-Foptions. Slay.-mβ Shuts down the primary server and all MoMs (pbs_mom). This option does not cause jobs or subjobs to be killed. Jobs are left running subject to other options to theqtermcommand. So it's giving "I'm leaving but not taking you with me".-sβ Shuts down the primary server and the scheduler (pbs_sched). Bye scheduler!-t <type>β The type specifies how the server is shut down. The types are the following:
π₯ immediate π₯
Shuts down the primary server. Immediately stops all running jobs. Any running jobs that can be checkpointed are checkpointed, terminated, and requeued. Jobs that cannot be checkpointed are terminated and requeued if they are rerunnable, otherwise they are killed.
If any job cannot be terminated, for example the server cannot contact the MoM of a running job, the server continues to execute and the job is listed as running. The server can be terminated by a second qterm -t immediate command.
While terminating, the server is in the Terminating state. So like, it's actively terminating, not just chilling.
π¦ delay π¦
Shuts down the primary server. The server waits to terminate until all non-checkpointable, non-rerunnable jobs are finished executing. Any running jobs that can be checkpointed are checkpointed, terminated, and requeued. Jobs that cannot be checkpointed are terminated and requeued if they are rerunnable, otherwise they are allowed to continue to run.
While terminating, the server is in the Terminating-Delayed state. So it's giving "I'll go when I'm ready".
π quick π
Shuts down the primary server. Running jobs and subjobs are left running.
This is the default behavior when no options are given to the qterm command.
While terminating, the server is in the Terminating state. So it's the quickest vibe.
Okay so like,<pink>-f</pink>,<pink>-F</pink>, and<pink>-i</pink>are mutually exclusive bestie β pick one, not all three. The manpage is very clear about that.
--versionβ Theqtermcommand returns its PBS version information and exits. This option can only be used alone. So don't try to pair it with anything else, bestie.
π«Ά OPERANDS π«Ά
You optionally specify the list of servers to shut down using [<server>[ <server> ...].
If you do not specify any servers, the qterm command shuts down the default server. So if you're like "shut down whatever the default is", just don't list any servers.
π STANDARD ERROR π
The qterm command writes a diagnostic message to standard error for each error occurrence. So like, if something goes wrong, it's gonna tell you.
π§ EXIT STATUS π§
Zeroβ Upon successful processing of all operands presented to theqtermcommand. Like, everything worked, slay.Greater than zeroβ If theqtermcommand fails to process any operand. So like, something didn't work, and it's not happy about it.
π SEE ALSO π
pbs_server(8B), pbs_mom(8B), pbs_sched(8B)
This iconic page is from the Local version, dated 6 May 2020, for qterm(8B). π β¨
π¦ 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