[Mauiusers] kill all active/running jobs

Garrick Staples garrick at usc.edu
Fri Feb 19 12:46:14 MST 2010


On Fri, Feb 19, 2010 at 01:36:06PM -0600, Sabuj Pattanayek alleged:
> On Fri, Feb 19, 2010 at 1:35 PM, Sabuj Pattanayek <sabujp at gmail.com> wrote:
> >> qselect | xargs qdel -m "BOFH does not need usernames"
> >
> > That's the command I was looking for:
> >
> > qselect -q someQueue -s R xargs qdel -m "All jobs on this queue must stop now"
> 
> forgot the pipe:
> 
> qselect -q someQueue -s R | xargs qdel -m "All jobs on this queue must stop now"

Instead of deleting jobs, consider using qrerun after stopping the queue.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20100219/3dbf2b50/attachment.bin 


More information about the mauiusers mailing list