[slurm-users] How to get the CPU usage of history jobs at each compute node?
huml1 at sugon.com
huml1 at sugon.com
Sat Feb 16 02:32:36 UTC 2019
Thanks for Merlin Hartley and Eli V's replay !
This command(sacct -j <jobid> ) can only get the total number of cpus for a history job:
However , the command(scontrol show jobs <jobid> --detail)can get the number of cpus of a running job on each node:
And I expect to get the cpu number of a certain history job on EACH compute node. It's like a combination of the two above.
祝工作顺利!
姓名 胡梦龙
手机 135-6164-9610
部门 HPC
中科曙光国际信息产业有限公司
青岛市崂山区株洲路78号中科曙光大厦(3号楼) 266000
From: Merlin Hartley
Date: 2019-02-15 23:36
To: Slurm User Community List
CC: 张涛
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 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/20190216/305c2b6f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch346D.jpg
Type: image/jpeg
Size: 24709 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190216/305c2b6f/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch.jpg
Type: image/jpeg
Size: 29356 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190216/305c2b6f/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6942_M2.png
Type: image/png
Size: 6942 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190216/305c2b6f/attachment-0001.png>
More information about the slurm-users
mailing list