[slurm-users] Position in queue?

Michael Gutteridge michael.gutteridge at gmail.com
Mon Oct 8 08:43:30 MDT 2018


`squeue` has some output options which may do the trick for you.  `-o %Q`
shows the priority and you can use `--sort` to sort by priority.  I have
$SQUEUE_FORMAT set:

%.15i %.15A %.9u %.8a %.9P %8q %18j %.2t %.10M %.6D %4C %4c %R %Q

puts the priority as the last column.  I believe default sorting puts the
highest priority job at the top.

Michael


On Fri, Oct 5, 2018 at 7:13 AM Paul Edmon <pedmon at cfa.harvard.edu> wrote:

> So if you use the showq utility it has functionality for that:
>
> https://github.com/fasrc/slurm_showq
>
> Happy to have contributors to this.
>
> -Paul Edmon-
>
> On 10/05/2018 09:56 AM, Alexandre Strube wrote:
>
> Is there a way to show the actual position in the queue, given the current
> priority? It’s possible to compute it, but I would like to see it as an
> ordinal…
> --
> []
> Alexandre Strube
> surak at ubuntu.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181008/1f3495a7/attachment.html>


More information about the slurm-users mailing list