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

Re: [Condor-users] Execution Node Query if there are jobs running



On 02/25/2010 12:05 PM, kschwarz@xxxxxxxxxxxxxx wrote:
> 
> Hi all,
> 
> I want to query Condor from my Desktop Condor execute node (dual-core)
> if there are any job running on it and process this information in a
> script.
> What is the best condor command and parameter to use to accomplish this
> subject?
> 
> Could someone help me?
> 
> Regards,
> Klaus/
> /

Something like: condor_status -direct $(hostname)

Of course $(hostname) there is a shell command executing hostname, similar results for $HOSTNAME.

If you want to process in a script pass -format

Best,


matt