summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-05-06 20:00:13 -0500
committerSean E. Russell <ser@ser1.net>2020-05-06 20:00:13 -0500
commitb0e1e9a20ad2c198b65df420aef5821c7be7208c (patch)
treed93223d2e82f5ac78587c021e3315eb80644847a
parent292c4c1bf381016b6674db279cfd111e5368b572 (diff)
FIXMEs
-rw-r--r--devices/cpu_cpu.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/cpu_cpu.go b/devices/cpu_cpu.go
index 42eff2e..a959e32 100644
--- a/devices/cpu_cpu.go
+++ b/devices/cpu_cpu.go
@@ -7,6 +7,8 @@ import (
psCpu "github.com/shirou/gopsutil/cpu"
)
+// FIXME: broken % under Linux. Doesn't reflect reality *at all*.
+// FIXME: gotop CPU use high -- gopsutils again? Try rolling back.
func init() {
f := func(cpus map[string]int, iv time.Duration, l bool) map[string]error {
cpuCount, err := psCpu.Counts(l)