[torqueusers] qdel with regulat expressions

Grigory Shamov gas5x at yahoo.com
Mon Aug 13 06:54:24 MDT 2012


Hi Mahmood,

You could use qselect, then Unix commands to form the list, with glob or regex expressions, and then xargs it to qdel.

qselect -u naderan | grep something | xargs qdel

--
Grigory Shamov

--- On Mon, 8/13/12, Mahmood Naderan <nt_mahmood at yahoo.com> wrote:

> From: Mahmood Naderan <nt_mahmood at yahoo.com>
> Subject: [torqueusers] qdel with regulat expressions
> To: "torque cluster" <torqueusers at supercluster.org>
> Date: Monday, August 13, 2012, 5:27 AM
> Hi,
> Assume these jobs are running:
> 
> set1-model1
> set1-model2
> set2-model1
> set1-model4
> set2-model7
> 
> Now assume I want to delete set1*
> Is there any way to delete the jobs with regular
> expressions? 
> Currently I have to use "qdel 54151 54686 56588"
> 
> Regards,
> Mahmood
> 
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
> 


More information about the torqueusers mailing list