To check memory allocation maps cat /proc/meminfo To check process memory usage by process id (pid) cat /proc//status