i am new to SLURM. I am searching for a comfortable way, to see how many memory at an node/nodelist is available for my srun allocation.
I already played around with sinfo and scontrol and sstat but none of them gives me the information i need in one comfortable overview.
I had the idea to write a shell script, in order to fetch all fields of all jobs from scontrol and sum them up. But there must be an easier way. Would be great if anyone has an hint or idea!
The 7th column of the output of
sinfo -N -l
will tell you how much memory is installed in each compute node.The command
scontrol -o show nodes
will tell you how much memory is already in use on each node. Look for theAllocMem
entry. (Needs Slurm 2.6.0 or more recent)