//go:build !linux package system import "fmt" // GetInfo returns empty system info on non-Linux platforms. func GetInfo(_ string, _ *CPUCollector) SystemInfo { return SystemInfo{} } // GetTotalMemoryMB is not available on non-Linux platforms. func GetTotalMemoryMB() (int, error) { return 0, fmt.Errorf("/proc/meminfo not available on this platform") } // GetMemoryMB is not available on non-Linux platforms. func GetMemoryMB() (totalMB, usedMB int, err error) { return 0, 0, fmt.Errorf("/proc/meminfo not available on this platform") }