Linux "pmap" Command Line Options and Examples
report memory map of a process

The pmap command reports the memory map of a process or processes..


Usage:

pmap [options] pid [...]






Command Line Options:

-x
Show the extended format.
pmap -x ...
-d
Show the device format.
pmap -d ...
-q
Do not display some header or footer lines.
pmap -q ...
-A
Limit results to the given range to low and high address range. Notice that the low and high argumentsare single string separated with comma.
pmap -A ...
-X
Show even more details than the -x option. WARNING: format changes according to /proc/PID/smaps
pmap -X ...
-XX
Show everything the kernel provides
pmap -XX ...
-p
Show full path to files in the mapping column
pmap -p ...
-c
Read the default configuration
pmap -c ...
-C
Read the configuration from file
pmap -C ...
-n
Create new default configuration
pmap -n ...
-N
Create new configuration to file
pmap -N ...
-h
Display help text and exit.
pmap -h ...
-V
Display version information and exit.EXIT STATUS0 Success.1 Failure.42 Did not find all processes asked for.
pmap -V ...