[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] How to get Machine Availability using Condor
- Date: Thu, 7 Feb 2008 18:21:01 -0500
- From: "Saurabh Agarwal" <sagarwa1@xxxxxxxxxxxxxx>
- Subject: [Condor-users] How to get Machine Availability using Condor
A quick question on how to retrieve machine's availability using Condor, I do not want to use condor_stats command every time I check for a machine availability.
I know there is a ClassAd for each resource under Condor called as "LoadAvg" which gives me a machine current load average and which guarantees that the machine is running under Condor perfectly. So is there a way I can use this ClassAd _expression_ to be exported in my script, which will check for the resource load?
I want to use the ClassAd _expression_ in my script which is a part of STARTD_CRON_JOBLIST, which will generate new ClassAds for my machine/resource based on already set ClassAds for each resource. So, how can we export already set ClassAds to my script? I can use both Shell Scripting or C Programming to write the STARTD_CRON_JOBLIST script.
I need this feature so that I could check few of the set ClassAds and could generate a new ClassAd to include a prediction scenario, which will give me more reliable information about the resource and then while submitting my new job, I can add the newly exported ClassAd as an _expression_ to schedule job on the resource which will have a higher reliability offer.
Graduate Student - Computer Science,