1、PBS部分:qsubqstatqdelqmoveqorderqdelcanceljobchangeparamcheckjobchecknodediagnosembalmclientmdiagmjobctlmnodectlmprofmschedctlmstatreleaseholdreleaseresresetstatsrunjobschedctlsetholdsetqossetressetsprishowbfshowconfigshowgridshowholdshowqshowresshowstartshowstateshowstatsTorque部分:chk_treehostnnqs2pbs
2、pbs-configpbsdshpbsnodespbs_tclshpbs_trackprintjobprintserverdbprinttrackingqalterqchkptqdelqdisableqenableqholdqmgrqmoveqmsgqnodesqorderqrerunqrlsqrunqselectqsigqstartqstatqstopqsubqtermtracejobMaui部分# maui.cfg 3.2.6p19#define SERVERHOST,this specifies where maui will run#SCHEDCFG0 SERVER=node8:425
3、59 MODE=NORMAL# primary admin must be first in listADMIN1 root# Resource Manager Definition#RMCFG0 TYPE=PBS HOST=node8# Allocation Manager DefinitionAMCFGbank TYPE=NONE# full parameter docs at http:/supercluster.org/mauidocs/a.fparameters.html# use the schedctl -l command to display current configur
4、ation# Set Torque server polling interval. If you have short queues or/and jobs it # is worth to set a short interval. (10 seconds)#RMPOLLINTERVAL 00:00:30SERVERPORT 42559SERVERMODE NORMAL# Admin: http:/supercluster.org/mauidocs/a.esecurity.html# a max. 10 MByte log file in a logical location#LOGFIL
5、E /var/log/maui.logLOGFILEMAXSIZE 10000000LOGLEVEL 3# Job Priority: http:/supercluster.org/mauidocs/5.1jobprioritization.htmlQUEUETIMEWEIGHT 1 # Throttling Policies: http:/supercluster.org/mauidocs/6.2throttlingpolicies.html# NONE SPECIFIED# Add by dolphin =#NODEACCESSPOLICY SINGLEUSERJOBNODEMATCHPO
6、LICY EXACTNODENODEACCESSPOLICY SHARED#NODECFGDEFAULT PRIORITYF=-JOBCOUNTENABLEMUITINODEJOBS TRUEENABLEMULTIREQJOBS TRUE# ended =# Set the delay to 1 minute before Maui tries to run a job again, # in case it failed to run the first time.# The default value is 1 hour.#DEFERTIME 00:01:00# Set preempt p
7、olicy to suspend if possible#PREEMPTPOLICY SUSPENDRESERVATIONPOLICY CURRENTHIGHEST# Backfill: http:/supercluster.org/mauidocs/8.2backfill.html#BACKFILLPOLICY FIRSTFIT# Node Allocation: http:/supercluster.org/mauidocs/5.2nodeallocation.html#NODEALLOCATIONPOLICY MINRESOURCENODEALLOCATIONPOLICY FIRSTAV
8、AILABLE#NODEALLOCATIONPOLICY PRIORITY#NODEALLOCATIONPOLICY MINRESOURCE# Fair share policy# FairShare: http:/supercluster.org/mauidocs/6.3fairshare.html#FSPOLICY DEDICATEDPSFSINTERVAL 24:00:00FSQOSWEIGHT 2 # In order to configure premption activate the QOSWEIGHT, # to do this set the variable QOSWEIG
9、HT to a number greater than 1. #QOSWEIGHT 1QOSCFGpreemptor QFLAGS=PREEMPTOR#QOSCFGpreemptee QFLAGS=PREEMPTEE # Once you have defined which queues are preemptors and which are preemptees # you the use the CLASSCFG to define priorities. As with the QOSCFG options you # need to turn on the CLASSCFG opt
10、ions by setting the CLASSWEIGHT #CLASSWEIGHT 1CLASSCFGhigh QDEF=preemptor PRIORITY=11000 CLASSCFGmiddle QDEF=preemptee PRIORITY=9000 CLASSCFGlow QDEF=preemptee PRIORITY=6000 #CONSUMEDWEIGHT 3CREDWEIGHT 1GROUPWEIGHT 1USERWEIGHT 1SRCFGWEIGHT 2# QOS: http:/supercluster.org/mauidocs/7.3qos.html# QOSCFGh
11、i PRIORITY=100 XFTARGET=100 FLAGS=PREEMPTOR:IGNMAXJOB# QOSCFGlow PRIORITY=-1000 FLAGS=PREEMPTEE# Standing Reservations: http:/supercluster.org/mauidocs/7.1.3standingreservations.html# Creds: http:/supercluster.org/mauidocs/6.1fairnessoverview.htmlUSERCFGDEFAULT MAXJOB=4 MAXNODE=1 MAXPROC=8USERCFGroot MAXJOB=100 MAXNODE=100 MAXPROC=400USERCFGadministrator MAXJOB=4 MAXNODE=4 MAXPROC=32# 这里指定默认的每个帐户最大可以运行 2个 job,每个 job所申请的节点总数不能超# 过 3个。而 nano帐户在另外做限制,可以用 16个节点,最大可以运行 64个作业。