Aggregated CPU User and System Load Percentage

Am trying to get a sum value of CPU USER and CPU SYSTEM percentage thru Ruby client.
Is there any single API parameter to pull out the both the values ? I believe, it does have 2 separate parameters.

I wanted to check, cpu load (system+user) have crossed 85%, if yes, how many instances.
Please let me know.

I was thinking you could use a script query for that to add the two fields together?

Not 100% sure if this will work so best try it first out in the console and then translate it to a ruby query.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.