mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
549 B
Plaintext
30 lines
549 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pmap
|
|
|
|
> Report memory map of a process or processes.
|
|
> More information: <https://manned.org/pmap>.
|
|
|
|
- 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` and `high`:
|
|
|
|
`pmap --range {{low}},{{high}}`
|
|
|
|
- Print memory maps for multiple processes:
|
|
|
|
`pmap {{pid1 pid2 ...}}`
|