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

[Condor-users] condor_status and strings



Hi All

I have recently run a condor_status -long and done some grepping and uniqing to
work out what versions of condor we are running on our execute nodes, the answer
is...

CondorVersion = "$CondorVersion: 6.6.10 Jun 22 2005 $"
CondorVersion = "$CondorVersion: 6.6.11 Mar 23 2006 $"
CondorVersion = "$CondorVersion: 6.6.2 Mar 17 2004 $"
CondorVersion = "$CondorVersion: 6.6.9 Mar 10 2005 $"

However now I know which versions we are running, I want to do the inverse
lookup to work out which machines are running version 6.6.11.  I tried using
condor_status as below along with a number of variations trying to escape the
characters in the string but to no avail.

condor_status -constraint CondorVersion == \"$CondorVersion: 6.6.11 Mar 23 2006
$\"

Is there a way to match a partial string given i'm running a 6.6.11 submit
machine ? or does anybody have any other ideas on how i can achieve the same
effect ?

Thanks in advance

James

---

James Osborne
High End Computing Support Engineer
Information Services, Cardiff University, 50 Park Place, Cardiff CF10 3AT,
Wales UK
Tel: +44(0)29 2087 4657
Fax: +44(0)29 2087 4285
Email: osborneja1@xxxxxxxxxxxxx 
Web: http://www.cardiff.ac.uk/insrv/condor