At 02:10 PM 1/7/2005 -0500, you wrote:
Hey I'm trying to use condor_status -const to determine which computer are running a parallel job (without having to look thought the log files). I'm running condor version 6.6.7 on windows 2000.
I can use jobstart (see example below) and other classads to filter out computers in my cluster, but I can't get JobId to work for my jobs. My job id is 2307.0, I have tried
C:\>condor_status -const "JobId == 2307.0" C:\>condor_status -const "JobId == '2307.0'" C:\>condor_status -const 'JobId == "2307.0"'
This looks like a quoting problem. I use the tcsh shell on Linux, and the following command worked for me:
condor_status -const 'JobId == "2307.0"'
You need quotes around the job id because it's a string, not a number.
You are apparently using the command shell in Windows. While I'm not expert on Windows, I got the following command to work:
condor_status -const "JobId == \"2307.0\""
That is, I put double-quotes around the expression, and I put \" around the job id itself.
-alain
_______________________________________________ Condor-users mailing list Condor-users@xxxxxxxxxxx http://lists.cs.wisc.edu/mailman/listinfo/condor-users