Checking Slurm Queues

List all the partitons available:

sinfo

To see states/allocation of different partitions:

sinfo -s

To see detailed node information:

sinfo -N

Then you can check the queue for a specific partition:

squeue -p partitionname

Also check what reservations exist on the hpc:

scontrol show reservations

And see which is active etc.:

sinfo -T

And then check the queue in a specific reservation:

squeue --reservation=reservation_name