private memory calculated by pmap, a combination of virtual memory size and resident memory size?

view story

http://unix.stackexchange.com – You can use the ps command to get the virtual memory size and the resident memory size of a process: $ ps aux | grep apache2 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www-data 31141 0.0 0.3 163864 24008 ? S 16:15 0:01 /usr/sbin/apache2 -k start Now virtual memory and resident memory doesn't provide accurate precision of a process's true memory footprint, because it also factors in shared libraries. So a better solution is to use pmap to get the true memory usage of a process. So here is the output of pmap using the same process as above: $ s (HowTos)