We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea74c9 commit b68994eCopy full SHA for b68994e
pkg/status/status.go
@@ -73,7 +73,7 @@ func Disk(INTERVAL *float64) (uint64, uint64) {
73
}
74
75
func Cpu(INTERVAL *float64) float64 {
76
- cpuInfo, _ := cpu.Percent(time.Duration(*INTERVAL*float64(time.Second)), true)
+ cpuInfo, _ := cpu.Percent(time.Duration(*INTERVAL*float64(time.Second)), false)
77
return math.Round(cpuInfo[0]*10) / 10
78
79
0 commit comments