Get Info on Nodes & Queues

Obtaining Information on the Nodes Available

Use the pbsnodes -a command to query the status of nodes, showing how much memory and number of CPUs there are.

$ pbsnodes -a

Obtaining Information on the Queues Available

You can get an up-to-date list of queues with by visiting the HPC Status page or while logged in you can get a more detailed list with:

$ qstat -Q
$ qstat -Qf

The default queue is “workq”. There is a smaller queue “smallq” and a few others.

There are a few different job queues on the HPC, smallq and workq are two examples, and they have different resource limitations. To obtain a list of all the queues run the command below. In this example you can see there are 28 jobs running in the smallq queue, 5 jobs running in the workq and 3 jobs queued in workq.

$ qstat -Q 

Queue        Max   Tot Ena Str   Que   Run   Hld   Wat   Trn   Ext Type
---------- ----- ----- --- --- ----- ----- ----- ----- ----- ----- ----
smallq         0    28 yes yes     0    28     0     0     0     0 Exec
expressq       0     0 yes yes     0     0     0     0     0     0 Exec
workq          0     8 yes yes     3     5     0     0     0     0 Exec
$ 

To obtain full information on all the queues including their maximum cpus, memory and wall times run the command below. This is the best way to obtain up-to-date information on the queues available as we may modify queue maximum limits to manage the resources.

$ qstat -Qf 

Queue: smallq
queue_type = Execution
total_jobs = 28
state_count = Transit:0 Queued:0 Held:0 Waiting:0 Running:28 Exiting:0 Begun:0 
resources_max.mem = 32gb ⇐ The most memory you can request 
resources_max.ncpus = 2 ⇐ The most CPUs you can request 
resources_max.walltime = 200:00:00
resources_default.walltime = 12:00:00
resources_assigned.mem = 101711872kb
resources_assigned.ncpus = 56
resources_assigned.nodect = 28
This is custom footer