Getting the load for each job

时间:2018-02-05 12:58:41

标签: slurm

Where can I find the load (used/claimed CPUs) per job? I know to get it per host using sinfo, but that does not directly give information on which job causes a possible 'incorrect' load of anything unequal to 1.

(I want to get this for all jobs, i.e. logging in to the node and running top is not my objective.)

1 个答案:

答案 0 :(得分:1)

您可以使用

sacct --format='jobid,ReqCPUS,elapsed,AveCPU'

并将ElapsedAveCPU进行比较。后者只适用于工作步骤,而不适用于整个工作。