This repository was archived by the owner on Sep 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
BC4 Monitoring
Will Price edited this page Dec 12, 2017
·
4 revisions
The following command lists the usage of machines in the gpu partition in the comsm0018 account:
$ squeue -p gpu --states=running -A comsm0018
List the state of nodes in the gpu partition
$ sinfo -p gpu
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
gpu up 7-00:00:00 1 down* gpu06
gpu up 7-00:00:00 31 idle gpu[01-05,07-32]
$ squeue --Format 'username:10,account:12,priority,reservation:12,state:10,gres:10,minmemory:12,timeleft' --sort='P,b,m' --partition gpu
USER ACCOUNT PRIORITY RESERVATION STATE GRES MIN_MEMORY TIME_LEFT
el14718 betatest 0.00000023283064 (null) RUNNING gpu:1 1000M 1-21:23:36
el14718 betatest 0.00000023283064 (null) RUNNING gpu:1 1000M 1-21:23:36
el14718 betatest 0.00000023283064 (null) RUNNING gpu:1 1000M 1-21:23:36
el14718 betatest 0.00000023283064 (null) RUNNING gpu:1 1000M 1-21:23:06
$ squeue --Format 'state,gres' -h --partition gpu | grep 'RUNNING.*gpu' | sed 's/gpu://' | awk '{ s += $2 } END { print s }'
52
$ sinfo -p gpu
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
gpu up 7-00:00:00 1 comp gpu16
gpu up 7-00:00:00 29 mix gpu[01,03-15,17-25,27-32]
gpu up 7-00:00:00 2 down gpu[02,26]