Analyzing Linux Process Memory Usage with ps, pmap, and Alternative Tools
This tutorial explains how Linux processes use memory, distinguishes between shared and private memory, demonstrates how to interpret ps output, and shows how to obtain detailed memory maps using pmap and other utilities such as /proc, smaps, smem, exmap, and valgrind.