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

Re: [Condor-users] Use IP constraint in condor_status, but why is there also port number?




In a shell script, I want to be able to do following:

IP="<125.125.120.67>"
Slot="1"
condor_status -l \
   -constraint "MyIP == \"$IP\""\
   -constraint "SlotID == $Slot"

In this particular case, something like this should work:


condor_status -const 'slotid == 1 && regexp("<1.2.3.4:\d+>", MyAddress)'

-Greg