[slurm-users] How to find core count per job per node

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Fri Oct 18 18:15:51 UTC 2019

On 18-10-2019 19:56, Tom Wurgler wrote:
> I need to know how many cores a given job is using per node.
> Say my nodes have 24 cores each and I run a 36 way job.
> It take a node and a half.
> scontrol show job id
> shows me 36 cores, and the 2 nodes it is running on.
> But I want to know how it split the job up between the nodes.

The "pestat" tool can tell you the CPUload of nodes belonging to a job:

pestat -j jobid

Get pestat from 

The "psjob" tool prints the processes on nodes of a given job when 
executed on the control node:

psjob jobid

get psjob and other tools from 


More information about the slurm-users mailing list