[slurm-users] how to know the real utilization of a node when oversubscribe is set to FORCE

Mark Hahn hahn at mcmaster.ca
Thu Jul 16 15:03:07 UTC 2020

> srun -N 1 -n 1 -p testA sleep 10
> then the cpurawtime of this job recorded by slurm is 640s, but actually
> this job only used 10s;
> so, I want to know are there any way to get the real cputime used by this
> job in slurm.

if you really mean cpu time (compute-bound, not elapsed),
then don't you just want usercpu, systemcpu and totalcpu from sacct?

cputime/cputimeraw is just ncpus * elapsed.

operator may differ from spokesperson.	            hahn at mcmaster.ca

More information about the slurm-users mailing list