[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] regexp not working in condor_history



Hi,

indeed, it works. My real case was more complex that the example I
posted (checking the owner). It turns out I was using the wrong
classad in my regexp  :)
Sorry for the spam.

Cheers,
Jose

El lun., 6 jul. 2020 a las 16:45, John M Knoeller
(<johnkn@xxxxxxxxxxx>) escribiÃ:
>
> condor_history and condor_q handle the -constraint argument the same way.
>
> if you are getting not results from
>
>    condor_history -constraint 'regexp("cms", Owner)'
>
> Then I'm confident in saying that the problem is not that regexp() doesn't work with condor_history,
> there is some other problem.  Try this.
>
>   condor_history  -limit 100 -constraint  'true' -af Owner
>
> Do you get any results?  Any with cms in the name?
>
> Or perhaps
>
>    condor_history -af Owner | sort | uniq -c
>
> Although this last command may take a while to run.
>
> -tj
>
> -----Original Message-----
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of jcaballero.hep@xxxxxxxxx
> Sent: Monday, July 6, 2020 9:04 AM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: [HTCondor-users] regexp not working in condor_history
>
> Hi,
>
> running version 8.6.13
> I am able to use regexp( ) with condor_q with no problem. Example:
>       condor_q -constraint 'regexp("cms", Owner)'
>
> However, the same query for condor_history returns nothing, when it
> should. Is this expected?
>
> Thanks,
> Jose
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/