pull/164/head
longXboy 6 years ago
parent 15fb800ae8
commit 5f0e0dca3e
  1. 2
      pkg/stat/sys/cpu/psutilCPU.go

@ -23,7 +23,7 @@ func (ps *psutilCPU) Usage() (u uint64, err error) {
var percents []float64
percents, err = cpu.Percent(ps.interval, false)
if err == nil {
u = uint64(percents[0] * 10)
u = uint64(percents[0] * 10000000)
}
return
}

Loading…
Cancel
Save