Hi Peter, Shouldn't this be cgroup-aware? If Condor is limited to a cgroup with 4 GB of RAM on a host with 256GB of RAM, which should be reported? Brian On Oct 30, 2012, at 1:01 PM, Peter MacKinnon <pmackinn@xxxxxxxxxx> 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 > > -- > Peter MacKinnon > Cloud BU/MRG Grid > Red Hat Inc. > Raleigh, NC > > _______________________________________________ > Condor-devel mailing list > Condor-devel@xxxxxxxxxxx > https://lists.cs.wisc.edu/mailman/listinfo/condor-devel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature