HTCondor Project List Archives



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

Re: [Condor-devel] Master ad tweak proposal



On 10/30/2012 02:01 PM, Peter MacKinnon wrote:
It would be nice to incorporate a few additional attributes into the
Master daemon ad so that it could serve as a record of inventory for a
pool. A management console (like Cumin) could then use this information
to display host load average and current RAM/swap usage independent of a
configured startd and its attendant slot breakout ads and attributes.

# from /proc/meminfo
     TotalMemory
     FreeMemory
     TotalSwap
     FreeSwap

# from /proc/loadavg
     LoadAverage

# from /proc/loadavg (threads)
     TotalProcs
     RunningProcs

Some of these have existing condor_sysapi generators like
sysapi_swap_space and sysapi_load_avg. DetectedMemory is already present
in the Master ad. The new free swap/memory attributes would need basic
calculations if I'm not mistaken.

Appreciate your feedback.

Thanks,
\Pete

Arguably these should be attributes on a MachineAd. Why go for the MasterAd over the MachineAd?

Best,


matt