mem[darwin]: fix VirtualMem stat multiply.
This commit is contained in:
parent
a22c0c27d9
commit
a9e65ec556
|
@ -53,7 +53,7 @@ func VirtualMemory() (*VirtualMemoryStat, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ret := &VirtualMemoryStat{
|
ret := &VirtualMemoryStat{
|
||||||
Total: parsed[0],
|
Total: parsed[0] * p,
|
||||||
Free: parsed[1] * p,
|
Free: parsed[1] * p,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue