Ask HN: How does the Activity Monitor in OS X calculate memory usage?
Ok, I am asking this here because I came up empty on Stack Overflow, Super User, and Google. How the hell does the Activity Monitor in OSX 10.10 calculate memory usage. The numbers from sysctl and vm_stat match each other (I assume vm_stat just pulls the numbers from sysctl), but those results are always higher by 10-20%, compared to what Activity Monitor reports. So, who is lying to me, the Activity Monitor or sysctl?
(
2 comments
| 4 points
| on HN
)