summaryrefslogtreecommitdiffstats
path: root/devices
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2022-02-14 16:44:27 -0600
committerSean E. Russell <ser@ser1.net>2022-02-15 11:53:47 -0600
commitf21a46134638da7d2fe38915f7298362f8e82452 (patch)
tree4d485d56938b3833fa24f5721f94f4af7d7b6cc8 /devices
parentf15c3dea66598c3ffa9035a69b04827e71172d33 (diff)
Fixed target directory for man page; removes the homebrew trigger in release workflow -- gotop is in core.
Diffstat (limited to 'devices')
-rw-r--r--devices/cpu_linux.go2
-rw-r--r--devices/remote.go1
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() {