[darwin] hw.memsize already in bytes
This commit is contained in:
parent
889c8c0bd5
commit
06282a319c
|
@ -53,7 +53,7 @@ func VirtualMemory() (*VirtualMemoryStat, error) {
|
|||
}
|
||||
|
||||
ret := &VirtualMemoryStat{
|
||||
Total: parsed[0] * p,
|
||||
Total: parsed[0],
|
||||
Free: parsed[1] * p,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue