<div dir="ltr">Hi Frank,<div><br></div><div>A way to get "how long jobs wait in the queue" is to import the data to XDMOD (<a href="https://open.xdmod.org/9.0/index.html">https://open.xdmod.org/9.0/index.html</a>).</div><div>The nifty reporting tool has many features to make it easier for us to report out the cluster usage.</div><div><br></div><div>Hadrian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 13, 2021 at 8:08 AM Heckes, Frank <<a href="mailto:heckes@mps.mpg.de">heckes@mps.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Ole,<br>
<br>
> >> -----Original Message-----<br>
> >>>    * (average) queue length for a certain partition<br>
> <br>
> I wonder what exactly does your question mean?  Maybe the number of jobs or<br>
> CPUs in the Pending state?  Maybe relative to the number of CPUs in the<br>
> partition?<br>
> <br>
This result from a mgmt. - question. How long jobs have to wait (in s, min, h, day) before they getting executed and <br>
how many jobs are waiting (are queued) for each partition in a certain time interval. <br>
The first one is easy to find with sacct and submit, start counts + difference + averaging.<br>
The second is a bit cumbersome, so I wonder whether a 'solution' is already around. The easiest way is to monitor from the beginning and store the squeue ouput for later evaluation. Unfortunately I didn’t do that.<br>
<br>
Cheers,<br>
-Frank<br>
<br>
> The "slurmacct" command prints (possibly for a specified partition) the<br>
> average job waiting time while Pending in the queue, but not the queue length<br>
> information.<br>
> <br>
> It may be difficult to answer your question from the Slurm database.  The sacct<br>
> command displays accounting data for all jobs and job steps, but not directly<br>
> for partitions.<br>
> <br>
> There are other Slurm monitoring tools which perhaps can supply the data you<br>
> are looking for.  You could ask this list again.<br>
> <br>
> /Ole<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Hadrian Djohari<br>Manager of Research Computing Services, [U]Tech<br>Case Western Reserve University<br>(W): 216-368-0395<br>(M): 216-798-7490<div></div><div></div><div></div></div></div></div></div></div></div></div>