What is PBS?

Portable Batch System (PBS) is the name of computer software that performs job scheduling. It has three versions - OpenPBS, TORQUE, PBS Professional.

PBS Commands

  • pbsnodes: query PBS host or vnode status or mark hosts free or offline
  • qstat: display status of PBS batch jobs, queues, or servers
  • qalter: alter PBS job
  • qdel: deletes PBS jobs
  • qrun: run a PBS batch job now
  • qmove: move PBS batch job
  • qhold: hold PBS batch jobs
  • qrls: release hold on PBS batch jobs
  • qsig: signal PBS batch job
  • qsub: Submit a job
  • tracejob: Report job history

Common commands

qstat -t: Displays status information for jobs, job arrays, and subjobs. qstat -Q: Display queue status in default format

Common #PBS lines

  • -A: account string
  • -J: job array
  • -N: job name
  • -l: resource list
    • select: The number of nodes is requested via the select command
    • mem: memory
    • ncpus: cpu, thread
    • walltime: walltime