<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">using sacct [1] - assuming you have accounting [2] enabled:<div class=""><br class=""></div><div class="">sacct -j <jobid></div><div class=""><br class=""></div><div class="">Hope this helps!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Merlin</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] <a href="https://slurm.schedmd.com/sacct.html" class="">https://slurm.schedmd.com/sacct.html</a></div><div class="">[2] <a href="https://slurm.schedmd.com/accounting.html" class="">https://slurm.schedmd.com/accounting.html</a></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">Merlin Hartley<br class="">Computer Officer</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">MRC Mitochondrial Biology Unit</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">University of Cambridge</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Cambridge, CB2 0XY</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">United Kingdom</div></div></div></div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 15 Feb 2019, at 10:05, <a href="mailto:huml1@sugon.com" class="">huml1@sugon.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Tahoma;" class=""><div class=""><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; line-height: normal;" class="">Dear there,</span></div><div style="font-family: "Microsoft YaHei UI";" class=""><span style="orphans: 2; widows: 2; line-height: 1.5; font-size: 18.6667px;" class=""><font face="Times New Roman, serif" class="">How to view the cpu usage of history jobs at each compute node?</font></span></div><div style="font-family: "Microsoft YaHei UI";" class=""><span style="font-family: PingFangSC-Regular, "Microsoft Yahei", "\\5FAE软雅黑", sans-serif; font-size: 16px; orphans: 2; widows: 2; line-height: 1.5; background-color: transparent;" class="">However, this command(</span><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; line-height: 28px; background-color: transparent;" class="">control show jobs jobid --detail</span><span style="font-family: PingFangSC-Regular, "Microsoft Yahei", "\\5FAE软雅黑", sans-serif; font-size: 16px; orphans: 2; widows: 2; line-height: 1.5; background-color: transparent;" class="">) can only get the cpu usage of the currently running job at each compute node</span><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; line-height: 1.5; background-color: rgba(0, 0, 0, 0);" class=""> :</span></div><div style="font-family: "Microsoft YaHei UI";" class=""><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; background-color: rgba(0, 0, 0, 0);" class=""> </span><span id="cid:_Foxmail.1@b7773e4c-f4f3-2708-77f4-c4907857484e" class=""><Catch8520.jpg></span><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; background-color: rgba(0, 0, 0, 0);" class="">   </span><span style="font-family: "Times New Roman", serif; font-size: 18.6667px; line-height: 1.5; background-color: rgba(0, 0, 0, 0);" class="">    </span></div><div style="font-family: "Microsoft YaHei UI";" class=""><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: normal; background-color: transparent;" class="">Appreciatively,</span></div><div style="font-family: "Microsoft YaHei UI";" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: normal;" class=""><span style="font-size: 14pt; font-family: "Times New Roman", serif;" class="">Menglong</span></div></div></div></div></blockquote></div><br class=""></div></div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">Merlin Hartley<br class="">Computer Officer</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">MRC Mitochondrial Biology Unit</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">University of Cambridge</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Cambridge, CB2 0XY</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">United Kingdom</div></div></div></div>
</div>
<br class=""></body></html>