free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing /proc/meminfo.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis