set win cpu total name to "cpu-total"

set the name of windows cpu total percent to "cpu-total"
keep the same with Linux, Freebsd system
pull/403/head
HeChuan 8 years ago committed by GitHub
parent 66b0ca3121
commit c818f7b647

@ -69,6 +69,7 @@ func Times(percpu bool) ([]TimesStat, error) {
system := (kernel - idle)
ret = append(ret, TimesStat{
CPU: "cpu-total",
Idle: float64(idle),
User: float64(user),
System: float64(system),

Loading…
Cancel
Save