[slurm-users] How to get the CPU usage of history jobs at each compute node?

Wang, Liaoyuan wangly at alfred.edu
Tue Feb 19 03:16:46 UTC 2019


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-slurm at mrc-mbu.cam.ac.uk>
Sent: Friday, February 15, 2019 10:36
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Cc: 张涛 <zhangtao at 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, huml1 at sugon.com<mailto:huml1 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190219/4a15cef5/attachment.html>


More information about the slurm-users mailing list