[
https://issues.apache.org/jira/browse/EAGLE-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800649#comment-15800649
]
ASF GitHub Bot commented on EAGLE-849:
--------------------------------------
Github user haoch commented on the issue:
https://github.com/apache/eagle/pull/763
@jhsenjaliya I have resolved most parts as commented, please help continue
review.
> System metric collector python script
> -------------------------------------
>
> Key: EAGLE-849
> URL: https://issues.apache.org/jira/browse/EAGLE-849
> Project: Eagle
> Issue Type: Improvement
> Components: System Metric Monitor
> Affects Versions: v0.5.0
> Reporter: Hao Chen
> Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> Refactor System metric collector python script following similar framework as
> existing jmx metric collector.
> {code}
> Single CPU Used (per_cpu_usage) = user + nice + system + wait + irq +
> softirq + steal + guest
> Single CPU Total (per_cpu_total) = user + nice + system + idle + wait
> + irq + softirq + steal + guest
> Single CPU Usage (%) = Single CPU Used (per_cpu_usage) / Single CPU Total
> (per_cpu_total)
> Total CPU Usage (system.cpu.totalusage) = (total_cpu_usage -
> pre_total_cpu_usage) / (total_cpu - pre_total_cpu) %
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)