summaryrefslogtreecommitdiff
path: root/internal/collector/script.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-14 17:29:08 +0200
committerPaul Buetow <paul@buetow.org>2026-02-14 17:29:08 +0200
commitb1f0ce01fb6ece8628cf0499690a003cdac28f7f (patch)
treece67d7633075743cd057031c21dca81834494be8 /internal/collector/script.go
parentef236805d7c7f655ef22da08d708ecb85212c15c (diff)
Remove macOS stats gathering support, require Linux with /procv0.8.4
Remove non-functional macOS monitoring code that used native tools (sysctl, vm_stat, netstat, iostat). Now loadbars exits with an error when attempting local stats gathering on non-Linux systems. macOS can still be used as a client to monitor remote Linux servers via SSH.
Diffstat (limited to 'internal/collector/script.go')
-rw-r--r--internal/collector/script.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/collector/script.go b/internal/collector/script.go
index 3be2190..5dc9dce 100644
--- a/internal/collector/script.go
+++ b/internal/collector/script.go
@@ -6,8 +6,3 @@ import _ "embed"
//
//go:embed loadbars-remote.sh
var LinuxScript []byte
-
-// DarwinScript contains the embedded loadbars-remote-darwin.sh script for macOS hosts
-//
-//go:embed loadbars-remote-darwin.sh
-var DarwinScript []byte