
Chapter 8. Operating system performance tuning 203
8.2.10 The pmap command
The pmap command reports the amount of memory that one or more processes
are using. For example, use this command to determine which processes on the
server are being allocated memory and whether this amount of memory is a
cause of memory bottlenecks:
pmap -x <pid>
Example 8-18 shows the total amount of memory the cupsd process is using.
Example 8-18 Total amount of memory the cupsd process is using
linux:~ # pmap -x 1796
1796: /usr/sbin/cupsd
Address Kbytes RSS Anon Locked Mode Mapping
08048000 244 - - - r-x-- cupsd
ffffe000 4 - - - ----- [ anon ]
-------- ------- ------- ...