How To Measure the Working Set Size on Linux
Brendan Gregg
JANUARY 17, 2018
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). For large processes (> 100 Gbytes) this duration of higher latency can last over 1 second, during which this tool is consuming system CPU time. Consider these overheads.
Let's personalize your content