On Linux console it’s easy to get Free Memory with free -m. On Mac the utility is not directly available. The alternative is to fetch it from vm_stat. There’s a great small Ruby script to do the job and display free memory in a simplistic form with a command free in a following few steps: [...]