Reference

pmap(1)

report memory map of a process

NAME

pmap - report memory map of a process

SYNOPSIS

pmap [option ...] 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. high can be omitted.

-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

-k, --use-kernel-name

If available, use names provided by the kernel instead of "[ anon ]"

-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

ps(1), pgrep(1)

STANDARDS

No standards apply, but pmap looks an awful lot like a SunOS command.

REPORTING BUGS

Please send bug reports to ⟨[email protected]⟩.

History

--create-rc since Debian 8 (Jessie); --create-rc-to since Debian 8 (Jessie); --device since Debian 7 (Wheezy); --extended since Debian 7 (Wheezy); --help since Debian 7 (Wheezy); --quiet since Debian 7 (Wheezy); --range since Debian 7 (Wheezy); --read-rc since Debian 8 (Jessie); --read-rc-from since Debian 8 (Jessie); --show-path since Debian 8 (Jessie); --use-kernel-name since Arch Linux 2026-11-01; --version since Debian 7 (Wheezy); -A since Debian 7 (Wheezy); -C since Debian 8 (Jessie); -N since Debian 8 (Jessie); -V since Debian 7 (Wheezy); -X since Debian 8 (Jessie); -XX since Debian 8 (Jessie); -c since Debian 8 (Jessie); -d since Debian 7 (Wheezy); -h since Debian 7 (Wheezy); -k since Arch Linux 2026-11-01; -n since Debian 8 (Jessie); -p since Debian 8 (Jessie); -q since Debian 7 (Wheezy); -x since Debian 7 (Wheezy).