cat /proc/meminfo (is one way).