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

Re: [HTCondor-users] Core usage of cluster



On Fri, Aug 24, 2018 at 6:11 PM Todd L Miller <tlmiller@xxxxxxxxxxx> wrote:
        To sum the actual CPU usage of those running jobs:

condor_status -const 'Activity == "Busy"' -af CPUsUsage | awk '{total += $1}END{print total}'

I don't seem to have a CPUsUsage classad on my pool, is this classad
something in a newer version?  (i'm running 8.6.9)

Looks like that went in in 8.7.7; I'd forgotten it was so recent. I think for 8.6.x you can add 'use policy : STARTD_PUBLISH_CpusUsage' to your startd configuration files, but that's based on load average, so it may not be as accurate.

- ToddM