NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52669 (htop displays wrong used memory)
Synopsis: htop displays wrong used memory
Responsible-Changed-From-To: pkg-manager->kern-bug-people
Responsible-Changed-By: maya%NetBSD.org@localhost
Responsible-Changed-When: Fri, 24 Nov 2017 03:19:21 +0000
Responsible-Changed-Why:
Now for why netbsd reports a different value.
State-Changed-From-To: open->analyzed
State-Changed-By: maya%NetBSD.org@localhost
State-Changed-When: Fri, 24 Nov 2017 03:19:21 +0000
State-Changed-Why:
This is because the calculation is:
MemTotal - MemFree - buffers - cache
uvmexp.npages - uvmexp.free - uvmexp.filepages - (uvmexp.anonpages + uvmexp.filepages + uvmexp.execpages)
We remove uvmexp.filepages twice, so it can be a negative number.
Home |
Main Index |
Thread Index |
Old Index