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

Re: [HTCondor-users] condor_q and defined class ad



yes condor 8.5.
what I can do is export to xml and then do parsing from there.



On Wed, Feb 1, 2017 at 1:30 PM, John M Knoeller <johnkn@xxxxxxxxxxx> wrote:
> Is This on HTCondor 8.5 or 8.6?  If so, then what may be happening is that
> CONDOR_Q_ONLY_MY_JOBS (which defaults to true). Is
>
> appending an ADDITIONAL constraint on the owner of the job, so you would see
> only YOUR jobs that have phn defined, not all of the jobs that have it
> defined.
>
>
>
> -tj
>
>
>
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
> Of Keith Brown
> Sent: Wednesday, February 1, 2017 7:39 AM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: Re: [HTCondor-users] condor_q and defined class ad
>
>
>
> Strange
>
>
>
> If I do this I get nothing back.
>
>
>
> condor_q -format "%s" phn gives me my results
>
>
>
> I know for sure it's definitely defined
>
>
>
> Tried all sorts of double quoting and case sensitive combinations also.
>
>
>
> Any other suggestions?
>
> On Tuesday, January 31, 2017, Steven C Timm <timm@xxxxxxxx> wrote:
>
> condor_q -constraint 'phn=!=UNDEFINED' -af phn
>
>
>
> (af is autoformat)
>
>
>
> Steve
>
>
>
> ________________________________
>
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Keith
> Brown <keith6014@xxxxxxxxx>
> Sent: Tuesday, January 31, 2017 7:32:25 PM
> To: HTCondor-Users Mail List
> Subject: [HTCondor-users] condor_q and defined class ad
>
>
>
> If I have something like this in my submit file
>
> ...
> +phn=123
> ....
>
> Is it possible with condor_q to show all jobs which have phn defined?
>
> I am doing
> condor_q -format "%s\n" phn
>
> But if no jobs are defined with phn, I see all jobs.
>
> Is there a defined condition I can use for condor_q ?
> _______________________________________________
> 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/