![Forrest logo](/images/logo.png)
pmap:tldr:4b93e
The pmap
command is used to display the memory map of a process. It provides information about the memory regions allocated by the process, including their starting address, size, and permissions.
The --range
option in the pmap
command is used to specify a range of memory addresses to display. In this particular command, ${low}
and ${high}
are variables that represent the lower and upper bounds of the memory range, respectively. By substituting suitable values for these variables, you can specify the desired memory range.
For example, if you run pmap --range 1000,2000
, it will display the memory regions allocated within the memory range starting from address 1000 to address 2000.
Note that the actual memory addresses and the information displayed by the pmap
command will vary depending on the specific process being examined and the permissions available to the user running the command.