HTCondor Project List Archives



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

[Condor-devel] Master ad tweak proposal



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

--
Peter MacKinnon
Cloud BU/MRG Grid
Red Hat Inc.
Raleigh, NC