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

Re: [HTCondor-users] pool utilization statistics



As of 8.1.5 you can query only the partitionable slots to get this information.
Something like this.

condor_status -const PartitionableSlot -af:h NumDynamicSlots TotalCpus Cpus "sum(ChildCpus)" TotalMemory Memory "sum(ChildMemory)" Machine

-tj
 

On 10/2/2014 4:24 PM, Keith Brown wrote:
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. 






_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/