pbs_server(8B)
π pbs_server(8B) β start a pbs batch server π
Okay bestie, gather round, because we're about to talk about pbs_server(8B) β the literal main character of your PBS setup. This is the command that gets the whole batch server party started on your local host. Periodt.
πΈ SYNOPSIS πΈ
pbs_server [-a active] [-c] [-d config_path] [-e] [-F] [-f] [-h] [-l
location] [-p port] [-t type] [-v] [-A acctfile] [-D] [-H hostname]
[-L logfile] [-M mom_port] [-n don't send hierarchy] [-R momRPP_port]
[-S scheduler_port] [--about] [--ha] [--help] [--version]
β¨ DESCRIPTION β¨
So pbs_server starts the operation of a batch server on the local host. Ngl, you'll usually find this command chilling in a local boot file like /etc/rc.local. π
If the batch server is already running, pbs_server will just exit with an error β like, it's not gonna double-book itself, okay? And to make sure the general user community can't just run this whenever, the server will only execute if its real and effective uid is zero. Security queen behavior. π
Whenever an error happens, the server records a diagnostic message in a log file. Those log files live in the server_logs directory below the home directory of the server. And if the log file can't be opened? The diagnostic message gets written to the system console instead. Backup plan, slay. π
π OPTIONS π
-a activeβ Specifies if scheduling is active or not, and this sets the server attributescheduling. If the option argument is"true"("True","t","T", or"1"), the server is active and the PBS job scheduler will be called. If the argument is"false"("False","f","F", or"0"), the server is idle, the scheduler will not be called, and no jobs will be run. If this option is not specified, the server will retain the prior value of theschedulingattribute. Lowkey important, don't skip this one. β¨-cβ Wait 10 minutes before contacting moms. Any mom reporting in does not get pinged if startingpbs_serverbefore moms. Patience is a virtue, bestie. π°οΈ-d config_pathβ Specifies the path of the directory which is home to the server's configuration files,PBS_HOME. A host may have multiple servers, and each server must have a different configuration directory. The default configuration directory is given by the symbol$PBS_SERVER_HOMEwhich is typically/usr/spool/PBS. π-eβ Accept status update from any mom. Adds node to nodes file. π«Ά-Fβ Do not fork. Use when running under systemd. Not me explaining this like it's obvious, but yeah. π-fβ Force overwrite of server database. Use with caution, okay? This one means business. π₯-hβ Print help information. Your fave. π-l locationβ Specifies where to find the scheduler (for example, Moab) when it does not reside on the same host as Torque. Example:pbs_server -1 <other_host>:<other_port>. Copy that exactly, iykyk. π-p portβ Specifies the port number on which the server will 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. π―-t typeβ If the job is rerunnable or restartable, and-t createis specified, the server will discard any existing configuration files, queues, and jobs, and initialize configuration files to the default values. The server is idled. If-tis not specified, job states will remain the same. So like, fresh start vibes only if you ask for it. π¦-vβ Shows version. Short and sweet. β-A acctfileβ Specifies an absolute path name of the file to use as the accounting file. If not specified, the file is named for the current date in thePBS_HOME/server_priv/accountingdirectory. Money moves, bestie. πΈ-Dβ Debug mode. Do not fork. For when you need to see everything. π-H hostnameβ Causes the server to start under a different hostname as obtained fromgethostname(2). Useful for servers with multiple network interfaces to support connections from clients over an interface that has a hostname assigned that differs from the one that is returned bygethostname(2). Main character energy with multiple identities, honestly. π§-L logfileβ Specifies an absolute path name of the file to use as the log file. If not specified, the file is one named for the current date in thePBS_HOME/server_logsdirectory, see the-doption. Keep your receipts, bestie. π§Ύ-M mom_portβ Specifies the host name and/or port number on which the server should connect the job executor, MOM. The option argument,mom_conn, is one of the forms:host_name,[:]port_number, orhost_name:port_number. Ifhost_nameis not specified, the local host is assumed. Ifport_numberis not specified, the default port is assumed. See the-Moption forpbs_mom(8). MOM said come through. π-n don't send heirarchyβ Directspbs_serverto not send the hierarchy to all the MOMs on startup. Instead, the hierarchy is only sent if a MOM requests it. This flag works only in conjunction with the local MOM hierarchy feature. Selective sending, we love a boundaries queen. πͺ-R mom_RPPportβ Specifies the port number on which the server should query the up/down status of Mom. See the-Roption forpbs_mom(8). Checking in on mom, cute. π©Ί-S scheduler_portβ Specifies the port number to which the server should connect when contacting the Scheduler. By defaultpbs_serverlooks for the scheduler on the loopback address at port15004. The-Soption changes the default to the value given in the option argument. The option argument,scheduler_conn, is of the same syntax as under the-Moption. Scheduler link-up, let's go. π‘--aboutβ Shows information aboutpbs_server. π--haβ Enables high availability mode. For when you literally cannot afford downtime. π―--helpβ Prints help information. Because sometimes we all need a little help. π«Ά--versionβ Shows version and commit information. Receipts included. π
π FILES π
$PBS_SERVER_HOME/server_privβ default directory for configuration files, typically/usr/spool/pbs/server_priv. This is where the config besties live. π‘$PBS_SERVER_HOME/server_logsβ directory for log files recorded by the server. All the drama gets written down here. π
π Signal Handling π
On receipt of the following signals, the server performs the defined action. Signal queen behavior, honestly.
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. Fresh log, who dis. πSIGINTβ Causes an orderly shutdown ofpbs_server. Graceful exit, we stan. β¨SIGUSR1,SIGUSR2β Causes server to increase and decrease logging levels, respectively. Turn the volume up, turn the volume down. πSIGTERMβ Causes an orderly shutdown ofpbs_server. Another graceful goodbye. πSIGSHUTDNβ On systems (Unicos) whereSIGSHUTDNis defined, it also causes an orderly shutdown of the server. Special shoutout to Unicos. πSIGPIPEβ This signal is ignored. Not today, signal. π«- All other signals have their default behavior installed. The rest are just doing their own thing. π
β EXIT STATUS β
If the server command fails to begin batch operation, the server exits with a value greater than zero. So like, if it flops, you'll know. π
π SEE ALSO π
qsub (1B), pbs_connect(3B), pbs_mom(8B), pbs_sched_basl(8B), pbs_sched_tcl(8B), pbsnodes(8B), qdisable(8B), qenable(8B), qmgr(1B), qrun(8B), qstart(8B), qstop(8B), qterm(8B), and the PBS External Reference Specification. The whole friend group, fr fr. π«Ά
Okay that's the whole page, bestie. Every flag, every signal, every file path β all of it. No cap. π
With love from the Local manual, pbs_server(8B) β version and date included, iconic as always. πΈπ
β¨
π¦ where this page comes from
- epel 9: torque-server 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms