title: How can I programmatically check free system memory on Mac like the Activity Monitor does?
body: <p>On Mac OS X, I can see how much memory is free in Activity Monitor. How can I programmatically do this?</p>