Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] condor_status Constraint format to filter nodes on an attribute
- Date: Wed, 11 Aug 2010 18:19:36 -0400
- From: Ian Chesal <ichesal@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [Condor-users] condor_status Constraint format to filter nodes on an attribute
Try: 'state == "owner"'
Your string quoting was just off. That's all.
- Ian
On 2010-08-11, at 6:13 PM, Rahul Nabar <rpnabar@xxxxxxxxx> wrote:
> In order to get jobs only in the "owner" state I tried running
>
> condor_status -constraint 'State==Owner'
> &
> condor_status -constraint State=='Owner'
>
> But none of them seem to filter correctly. I assume I must be using a
> wrong constraint spec. The manpage (
> http://www.cs.wisc.edu/condor/manual/v6.2/condor_status.html )
> doesn't give a lot of details about the constraint format. Any pointers?
>
> [root@eu003 ~]# condor_status | more
>
> Name OpSys Arch State Activity LoadAv Mem ActvtyTime
>
> slot1@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+20:50:09
> slot2@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:07
> slot3@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:08
> slot4@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:09
> slot5@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:10
> slot6@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:11
> slot7@eu001 LINUX X86_64 Owner Idle 1.000 2005 0+17:05:12
>
>
> --
> Rahul
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/