pbs_server(8B)
π NAME π
pbs_server β start a PBS batch server. welcome to the pbs_server(8B) page from PBS Professional, bestie; this is the part where your server wakes up and starts doing server things β¨
πΈ SYNOPSIS πΈ
pbs_server [-a <active>] [-A <acctfile>] [-C] [-d <config path>]
[-e <mask>] [-F <delay>] [-L <logfile>] [-M <MoM port>] [-N]
[-p <port number>] [-R <MoM RPP port>] [-S <default scheduler
port>] [-s <replacement string>] [-t <restart type>]
pbs_server --version
π¦ DESCRIPTION π¦
okay so the pbs_server command starts a batch server on the local host. typically it lives in a local boot file like /etc/rc.local, doing its little startup ritual π if the batch server is already running, pbs_server exits with an error β no duplicate main character energy allowed, periodt.
π Required Permission π
so that the general user community cannot run the pbs_server command, the server runs only if its real and effective uid is zero. you must be root. thatβs the vibe check, and it is strict π
π OPTIONS π
-A <acctfile>β gives an absolute path name for the file to use as the accounting file. if you donβt specify it, the file is named for the current date inside thePBS_HOME/server_priv/accountingdirectory π-a <active>β when True, the server is in state"active"and the default scheduler is called to schedule jobs. when False, the server is in state"idle"and the default scheduler is not called to schedule jobs. this sets the serverβs scheduling attribute. if you donβt specify this option, the server uses the prior value for the scheduling attribute. format: Boolean β¨-Cβ the server starts up, creates the database, and exits. Windows only πͺ-d <config path>β gives the absolute path to the directory containing the server configuration files,PBS_HOME. each server must have a different configuration directory. the default configuration directory is specified in$PBS_HOME, and is typically/var/spool/PBSποΈ-e <mask>β sets a log event mask to be used when logging. see"log_events"in thepbs_server_attributes(7B)man page π-F <delay>β sets the number of seconds the secondary server should wait before taking over when it believes the primary server is down. if the number of seconds is specified as-1, the secondary will make one attempt to contact the primary and then become active. default:30seconds β³-L <logfile>β gives the absolute path name for the log file. if you donβt specify it, the file is named for the current date inside thePBS_HOME/server_logsdirectory.PBS_HOMEis specified in the$PBS_HOMEenvironment variable or in/etc/pbs.conf; see the-doption π§Ύ-M <MoM port>β specifies the host name and/or port number on which the server should connect to MOM. the option argument, MoM port, uses the syntax:[<hostname>][:<port number>]. if hostname is not specified, the local host is assumed. if port number is not specified, the default port is assumed. see the-Moption forpbs_mom(8). default:15002π-Nβ runs the server in standalone mode π§-p <port number>β specifies the port number on which the server is to listen for batch requests. if multiple servers are running on a single host, each must have its own unique port number. this option is for use in testing with multiple batch systems on a single host. default:15001π‘-R <MoM RPP port>β specifies the port number on which the server should query the up/down status of MoM. see the-Roption forpbs_mom(8). default:15003π©Ί-S <default scheduler port>β specifies the port number to which the server should connect when contacting the default scheduler. the option argument, default scheduler port, uses the syntax:[<hostname>][:<port number>]. default:15004ποΈ-s <replacement string>β specifies the string to use when replacing spaces in accounting entity names. only available under Windows πͺ-t <restart type>β specifies behavior when the server restarts. the restart type argument is one of these besties:coldβ all jobs are purged. positive confirmation is required before this direction is accepted π§createβ the server discards any existing configuration files:server,nodes,queues, andjobs, and initializes configuration files to the default values. the default scheduler is idled (schedulingis set toFalse). any multischeds are deleted π§¨hotβ all jobs in theRunningstate are retained in that state. any job that was requeued into theQueuedstate from theRunningstate when the server last shut down is run immediately, assuming the required resources are available. this returns the server to the same state as when it went down. after those jobs are restarted, normal scheduling takes place for all remaining queued jobs. all other jobs are retained in their current state. if a job cannot be restarted immediately because of a missing resource, such as a vnode being down, the server attempts to restart it periodically for up to 5 minutes. after that period, the server will revert to a normal state, as if warm started, and will no longer attempt to restart any remaining jobs which were running prior to the shutdown π₯updatedbβ updates format of PBS data from the previous format to the data service format π§¬warmβ all jobs in theRunningstate are retained in that state. all other jobs are maintained in their current state. the default scheduler typically chooses new jobs for execution.warmis the default if-tis not specified π€οΈ
--versionβ thepbs_servercommand returns its PBS version information and exits. this option can only be used alone β
π FILES π
$PBS_HOME/server_privβ default directory for configuration files ποΈ$PBS_HOME/server_logsβ directory for log files recorded by the server π
π¦ Signal Handling π¦
when it receives the following signals, the server performs the following actions:
SIGHUPβ the current server log and accounting log are closed and reopened. this allows for the prior log to be renamed and a new log started from the time of the signal πSIGTERMβ causes a rapid orderly shutdown ofpbs_server, identical toqterm -t quickπSIGSHUTDNβ on systems whereSIGSHUTDNis defined, causes an orderly quick shutdown of the server πSIGPIPE,SIGUSR1,SIGUSR2β these signals are ignored π- all other signals have their default behavior installed π―
π©Ί Diagnostic Messages π©Ί
the server will record a diagnostic message in a log file for any error occurrence. the log files are maintained in the server_logs directory below the home directory of the server. if the log file cannot be opened, the diagnostic message is written to the system console. the server writes its PBS version and build information to the logfile whenever it starts up or the logfile is rolled to a new file π
π Stopping the PBS Server π
π§ Stopping the Server on Linux π§
use the qterm command:
qterm
(see qterm(8B))
or send a SIGTERM:
kill <server PID>
π EXIT STATUS π
- Zero β when the server has run in the background and then exits β
- Greater than zero β if the server command fails to begin batch operation β
π SEE ALSO π
qsub (1B), pbs_connect(3B), pbs_mom(8B), pbs_sched(8B), pbsnodes(8B), qdisable(8B), qenable(8B), qmgr(8B), qrun(8B), qstart(8B), qstop(8B), and qterm(8B) π«Ά
π thatβs the wholepbs_server(8B)glow-up, bestie. cute little sign-off: Local Β· 6 May 2020 Β· PBS Professional Β·pbs_server(8B)β stay root, stay iconic π π
π¦ 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