Repository: ambari Updated Branches: refs/heads/trunk 7fc85761a -> 0670e953a
AMBARI-10890. Report cpu_steal percent with cpu metrics. Typo fix. (swagle) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0670e953 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0670e953 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0670e953 Branch: refs/heads/trunk Commit: 0670e953a8b820163e546b21ce5cb40248986966 Parents: 7fc8576 Author: Siddharth Wagle <swa...@hortonworks.com> Authored: Fri May 1 14:29:39 2015 -0700 Committer: Siddharth Wagle <swa...@hortonworks.com> Committed: Fri May 1 14:29:39 2015 -0700 ---------------------------------------------------------------------- .../src/main/python/core/host_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0670e953/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py ---------------------------------------------------------------------- diff --git a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py index e102c11..41f6a0a 100644 --- a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py +++ b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py @@ -64,7 +64,7 @@ class HostInfo(): 'cpu_nice': number2percents(cpu_times.nice) if hasattr(cpu_times, 'nice') else 0, 'cpu_wio': number2percents(cpu_times.iowait) if hasattr(cpu_times, 'iowait') else 0, 'cpu_intr': number2percents(cpu_times.irq) if hasattr(cpu_times, 'irq') else 0, - 'cpu_sintr': number2percents(cpu_times.softirq) if hasattr(cpu_times, 'softirq') else 0 + 'cpu_sintr': number2percents(cpu_times.softirq) if hasattr(cpu_times, 'softirq') else 0, 'cpu_steal': number2percents(cpu_times.steal) if hasattr(cpu_times, 'steal') else 0 } if platform.system() != "Windows":