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

Re: [Condor-users] On the output of condor_userprio -l



On 06/20/2011 07:31 AM, Mark Calleja wrote:
Hi chaps,

I'd like to script against the output of "condor_userprio -l", and I
notice that it's made up of a number of records of the form (where X is
an integer starting from 1):

NameX = ...
PriorityX = ...
ResourcesUsedX = ...
WeightedResourcesUsedX = ...
AccumulatedUsageX = ...
WeightedAccumulatedUsageX = ...
BeginUsageTimeX = ...
LastUsageTimeX = ...
PriorityFactorX = ...

Would anyone in the Condor team vouch for how fixed in stone this format
is, i.e. the number of properties per record (always these nine?), the
order these properties appear in (it seems constant), and the constancy
of these names (how liable are they to change?). I'm currently using
v7.4.4.

TIA,
Mark

Those attributes (sans WeightedResourcesUsed) have been around since '98. You should expect the set to increase. Decreasing is unlikely. You should not expect the order to be consistent. The AttrX format has been around for a long time ('98) and will likely stay the same until nested ClassAds start to be used, possibly 7.7 or 7.9. Though, it will be possible to maintain the two formats during a transition period, e.g. to let old userprio work against new negotiators.

Best,


matt