Dear Merlin,

Thank you for your comments. Following your suggestion, I set memory for each 
CPU. Actually, it does not work.
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode
------------ ---------- ---------- ---------- ---------- ---------- --------
1463             9673%j       defq                    40    RUNNING      0:0

Any further comments? I sincerely appreciate your time.

Appreciatively,
Leon

From: Merlin Hartley <merlin-sl...@mrc-mbu.cam.ac.uk>
Sent: Friday, February 15, 2019 10:36
To: Slurm User Community List <slurm-users@lists.schedmd.com>
Cc: 张涛 <zhang...@sugon.com>
Subject: Re: [slurm-users] How to get the CPU usage of history jobs at each 
compute node?

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

sacct -j <jobid>

Hope this helps!


Merlin


[1] https://slurm.schedmd.com/sacct.html
[2] 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