Show free memory top -l 1 -s 0 | grep PhysMem Ref https://apple.stackexchange.com/questions/4286/is-there-a-mac-os-x-terminal-version-of-the-free-command-in-linux-systems