diff --git a/monitoring/unit/mem.go b/monitoring/unit/mem.go index b224889..29b69c3 100644 --- a/monitoring/unit/mem.go +++ b/monitoring/unit/mem.go @@ -200,11 +200,7 @@ func Ram() RamInfo { } if runtime.GOOS == "linux" { - h := CallFree() - if h.Total > 0 { - return h - } - h = GetMemHtopLike() + h := GetMemHtopLike() if h.Total > 0 { return h }