Very useful PBS commands
- varadwajpradeep
- Nov 25, 2015
- 1 min read
Node info
pbsnodes -a # show status of all nodes
pbsnodes -a <node> # show status of specified node
pbsnodes -l # list inactive nodes
pbsnodelist # list status of all nodes (one per line)
pbsnodelist -h # help
pbssummary # cluster usage (table)
pbssummary -h # help
Queue info
qstat -Q # show all queues
qstat -Q <queue> # show status of specified queue
qstat -f -Q <queue> # show full info for specified queue
qstat -q # show all queues (alternative format)
qstat -q <queue> # show status of specified queue (alt.)
pbsuserlist # list node and core usage per user
pbsuserlist -h # help
Job submission and monitoring
qsub <jobscript> # submit to default queue
qsub -q <queue> <jobscript> # submit to specified queue other useful
qdel <job_no> # delete job (with <job_no> from qstat)
qstat -a # show all jobs
qstat -a <queue> # show all jobs in specified queue
qstat -f <job_no> # show full info for specified job
qstat -n # show all jobs and the nodes they occupy
pbsjoblist # list jobs with resource usage
pbsjoblist -h # help
Comments