squeue -w $nodelist

On 06/24/2013 11:09 AM, John Morrissey wrote:
> Is there a way to list the jobs running on an arbitrary host?
>
> The best way I can find is to parse the output of 'scontrol show job -o',
> with concomitant invocations of 'scontrol show hostnames' to expand each
> NodeList.
>
> This gets... suboptimal at installations with large numbers of jobs in
> flight. Is there a better way?
>
> john

-- 
Ryan Cox
Operations Director
Fulton Supercomputing Lab
Brigham Young University

Reply via email to