pmap - Man Page
report memory map of a process
Examples (TL;DR)
- Print memory map for a specific process ID (PID):
pmap pid
- Show the extended format:
pmap --extended pid
- Show the device format:
pmap --device pid
- Limit results to a memory address range specified by
low
andhigh
:pmap --range low,high
- Print memory maps for multiple processes:
pmap pid1 pid2 ...
Synopsis
pmap [options] pid [...]
Description
The pmap command reports the memory map of a process or processes.
Options
- -x, --extended
Show the extended format.
- -d, --device
Show the device format.
- -q, --quiet
Do not display some header or footer lines.
- -A, --range low,high
Limit results to the given range to low and high address range. Notice that the low and high arguments are single string separated with comma.
- -X
Show even more details than the -x option. WARNING: format changes according to /proc/PID/smaps
- -XX
Show everything the kernel provides
- -p, --show-path
Show full path to files in the mapping column
- -c, --read-rc
Read the default configuration
- -C, --read-rc-from file
Read the configuration from file
- -n, --create-rc
Create new default configuration
- -N, --create-rc-to file
Create new configuration to file
- -h, --help
Display help text and exit.
- -V, --version
Display version information and exit.
Exit Status
- 0
Success.
- 1
Failure.
- 42
Did not find all processes asked for.
See Also
Standards
No standards apply, but pmap looks an awful lot like a SunOS command.
Reporting Bugs
Please send bug reports to procps@freelists.org