using sacct [1] - assuming you have accounting [2] enabled:

sacct -j <jobid>

Hope this helps!


Merlin


[1] https://slurm.schedmd.com/sacct.html <https://slurm.schedmd.com/sacct.html>
[2] https://slurm.schedmd.com/accounting.html 
<https://slurm.schedmd.com/accounting.html>


--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom

> On 15 Feb 2019, at 10:05, hu...@sugon.com <mailto:hu...@sugon.com> wrote:
> 
> Dear there,
> How to view the cpu usage of history jobs at each compute node?
> However, this command(control show jobs jobid --detail) can only get the cpu 
> usage of the currently running job at each compute node :
>  <Catch8520.jpg>       
> Appreciatively,
> Menglong



--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom

Reply via email to