-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU use calculations #19
Comments
According to this page: I think you have to calculate a ratio of the sum all the CPU modes (idle, user, sys and wait). This query seems to give me the correct average CPU usage per host, as a value between 0.0 and 1.0:
|
what if I use this to calculate CPU utilization data from an AIX lpar ?
should this not return the CPU utilization metrics from the lpar ? |
That works with With node_exporter_aix, if you do a sum of rates of all cpu modes, it won't add up to 1, so you can't just do '100 - idle%'. To calculate the utilization as a value between 0.0-1.0, you need to sum all the rates on the right-hand side of the equation. But I guess you could do this:
|
I am not able to get accurate utilization data from the aix node_exporter, here is how it the metrics values are returned for idle and spurr, Looking at the returned metric, both of them looks different and I am not able to interpret what unit they are in after the epoch.
any help ? |
hi,
May you suggest please the Prometheus expression based on metrics provided by node_exporter_aix which would give the actual CPU use of AIX host?
Thanks in advance
The text was updated successfully, but these errors were encountered: