diff --git a/mem/mem_darwin.go b/mem/mem_darwin.go index bd6d2e0..6f901d2 100644 --- a/mem/mem_darwin.go +++ b/mem/mem_darwin.go @@ -53,7 +53,7 @@ func VirtualMemory() (*VirtualMemoryStat, error) { } ret := &VirtualMemoryStat{ - Total: parsed[0], + Total: parsed[0] * p, Free: parsed[1] * p, }