There are few bjobs commande that I can't reproduce with slurm.
I'm looking for the equivalence of :
alloc_slotnalloc_slotslot- memory usage per node
Especially, I'm wondering whether it's possible to the retrieve the requested and used number of slot per node.
Like, it happens that user requests a full node, so lets say 122 cores, but actually use only 4 cores.
Have someone already faced this situation ?
Thanks.
You can have a look at
scontrol show nodes. You will get information such asCPUAlloc=0, the number of allocated slots on the node andCPULoad=0.01the actual load of the node, which should match the numberCPUAlloc.In such a situation you would see
CPUAlloc=122andCPULoad=4.00.The same command will output
AllocMem=0which is the sum of memory requests for the node andFreeMem=xxxwhich is what is reported by thefreecommand and is the amount of memory not used by any program. You will need to compare those numbers with the total available memory on the node. In case of perfect memory usage by the jobs and no memory usage by the OS,AllocMem+FreeMemshould be equal toRealMemory.