[Mauiusers] kill all active/running jobs

Garrick Staples garrick at usc.edu
Fri Feb 19 12:27:43 MST 2010

On Fri, Feb 19, 2010 at 01:13:19PM -0600, Sabuj Pattanayek alleged:
> Hi,
> Is there a command to kill all active jobs? I'm going to use qstop and
> qstart via cron to disable and enable running jobs on the queue during
> certain periods but I want to also be able to kill all running jobs
> after I run qstop. Is there a builtin command to do this either from
> the torque or maui commands or do I just need to script this using the
> output of qstat or showq -r ?

qselect | xargs qdel -m "BOFH does not need usernames"

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/fa7e36e7/attachment.bin 

More information about the mauiusers mailing list