diff options
Diffstat (limited to 'devices')
-rw-r--r-- | devices/cpu_linux.go | 2 | ||||
-rw-r--r-- | devices/remote.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/devices/cpu_linux.go b/devices/cpu_linux.go index 2368218..e4467f4 100644 --- a/devices/cpu_linux.go +++ b/devices/cpu_linux.go @@ -1,8 +1,8 @@ +//go:build linux // +build linux package devices -// TODO gopsutil is at v3, and we're using v2. See if v3 is released and upgrade if so. import "github.com/shirou/gopsutil/cpu" func CpuCount() (int, error) { diff --git a/devices/remote.go b/devices/remote.go index 9eadf13..eeb27b6 100644 --- a/devices/remote.go +++ b/devices/remote.go @@ -23,7 +23,6 @@ var remoteLock sync.Mutex // TODO remote network & disk aren't reported // TODO network resiliency; I believe it currently crashes gotop when the network goes down // TODO Replace custom decoder with https://github.com/prometheus/common/blob/master/expfmt/decode.go -// TODO MQTT / Stomp / MsgPack // FIXME high CPU use when remote goes offline // FIXME higher CPU use when using remote in general func init() { |