[torqueusers] qdel with regulat expressions
Mahmood Naderan
nt_mahmood at yahoo.com
Mon Aug 13 08:54:27 MDT 2012
>qselect -u naderan | grep something | xargs qdel
That is also good. Thanks...
Regards,
Mahmood
----- Original Message -----
From: Grigory Shamov <gas5x at yahoo.com>
To: Mahmood Naderan <nt_mahmood at yahoo.com>; Torque Users Mailing List <torqueusers at supercluster.org>
Cc:
Sent: Monday, August 13, 2012 2:54 PM
Subject: Re: [torqueusers] qdel with regulat expressions
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