|
NAMEpbs_sched_cc - pbs C schedulerSYNOPSISpbs_sched [-a alarm] [-d home] [-L logfile] [-p file] [-S port] [-R port] [-c file]DESCRIPTIONThe pbs_sched program runs in conjunction with the PBS server. It queries the server about the state of PBS and communicates with pbs_resmon to get information about the status of running jobs, memory available etc. It then makes decisions as to what jobs to run.pbs_sched must be executed with root permission. OPTIONS
The options that specify file names may be absolute or relative. If they are relative, their root directory will be PBS_HOME/sched_priv. USAGEThis version of the scheduler requires knowledge of the C language and the PBS API. Source code is provided for a main program for the scheduler. The site must supply the heart of the program. When invoked, the main program performs general initialization and housekeeping chores. Then a locally supplied function, schedinit() is called to perform site specific initialization.In the main loop, a locally supplied function, schedule() is called to make the scheduling decisions and perform any required actions. Information about jobs and queues is obtained from the Server through the standard PBS API as found in libifl.a. Information about the execution host(s) is obtained from the Resource Monitor. Routines to communicate with the Resource Monitor are found in libnet.a. If the processing takes more than the allotted time, the scheduler will restart itself. The default amount of time is three minutes. This can be changed with the -a option. On receipt of a SIGHUP signal, the scheduler will close and reopen its log file and reread its configuration file (if any). CONFIGURATION FILEA configuration file may be specified with the -c option. This file may be used to specify the hosts (servers) which are allowed to connect to pbs_sched. The hosts are specified in the configuration file in a manor identical to that used in pbs_mom.
The configuration file must be "secure". It must be owned by a user id and group id less than 10 and not be world writable. FILES
Signal HandlingA C based scheduler will handle the following signals:
All other signals have the default action installed. EXIT STATUSUpon normal termination, an exit status of zero is returned.SEE ALSOpbs_sched_tcl(8B), pbs_server(8B), and pbs_mom(8B).PBS Internal Design Specification
Visit the GSP FreeBSD Man Page Interface. |