From b1f0ce01fb6ece8628cf0499690a003cdac28f7f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 14 Feb 2026 17:29:08 +0200 Subject: Remove macOS stats gathering support, require Linux with /proc 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. --- internal/collector/script.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/collector/script.go') 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 -- cgit v1.2.3