How To Measure the Working Set Size on Linux
Brendan Gregg
JANUARY 17, 2018
OSes usually show you virtual memory and resident memory, shown as the "VIRT" and "RES" columns in top. My tool does this using /proc/PID/clear_refs and the Referenced value from /proc/PID/smaps, which were added in 2007 by David Rientjes (thanks). That's the working set size. It is used for capacity planning and scalability analysis.
Let's personalize your content