You can print a list of queues with the sinfo command
[user@koko-login2 ~]$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
shortq7* up 2:00:00 2 down* node[001,056]
shortq7* up 2:00:00 3 mix node[009,030-031]
shortq7* up 2:00:00 37 alloc node[002-006,008,011-014,019-020,051,054,057-058,062-065,067-081,083-084]
shortq7* up 2:00:00 30 idle gpu-exxact[1-5],gpu-k80,node[007,010,027-029,032,052-053,059-061,082,087-098]
longq7 up 7-12:00:00 2 down* node[001,056]
longq7 up 7-12:00:00 1 mix node009
longq7 up 7-12:00:00 37 alloc node[002-006,008,011-014,019-020,051,054,057-058,062-065,067-081,083-084]
longq7 up 7-12:00:00 6 idle node[007,010,059-061,082]