We\'re trying to find out how much physical memory is installed in a machine running Mac OS X. We\'ve found the BSD function sysctl(). The problem is this function wants to
From Obtaining a Mac’s System Profiler data from shell:
Use system_profiler.