I am trying to generate a few pool statistics. What is the most efficient and accurate manner to achieve these goals:
1) Consider that I am using DynamicSlots. Total Pool Core utilization
My plan is to do a condor_status and get all nodes and then loop thru each node to get DetectedCpus and minus the sum of jobs.
2) Total Pool memory utilization
Similar to above but minus TotalMemory
Any thoughts of these approaches? or does anyone have a better way to achieve this? I plan to run these queries every 15 seconds so it doesn't have to be super low latency.Â