| 1 |
.\" |
| 2 |
.\" Copyright (c) 2011-2023 Craig Small <[email protected]> |
| 3 |
.\" Copyright (c) 2011-2012 Sami Kerola <[email protected]> |
| 4 |
.\" Copyright (c) 2013 Jaromir Capik <[email protected]> |
| 5 |
.\" Copyright (c) 1998-2002 Albert Cahalan |
| 6 |
.\" |
| 7 |
.\" This program is free software; you can redistribute it and/or modify |
| 8 |
.\" it under the terms of the GNU General Public License as published by |
| 9 |
.\" the Free Software Foundation; either version 2 of the License, or |
| 10 |
.\" (at your option) any later version. |
| 11 |
.\" |
| 12 |
.\" |
| 13 |
.\" (The preceding line is a note to broken versions of man to tell |
| 14 |
.\" them to pre-process this man page with tbl) |
| 15 |
.\" Man page for pmap. |
| 16 |
.\" Licensed under version 2 of the GNU General Public License. |
| 17 |
.\" Written by Albert Cahalan. |
| 18 |
.\" |
| 19 |
.TH PMAP 1 2020-06-04 procps-ng |
| 20 |
.SH NAME |
| 21 |
pmap \- report memory map of a process |
| 22 |
.SH SYNOPSIS |
| 23 |
.B pmap |
| 24 |
.RI [ option " .\|.\|.\&]" |
| 25 |
.IR pid " .\|.\|." |
| 26 |
.SH DESCRIPTION |
| 27 |
The |
| 28 |
.B pmap |
| 29 |
command reports the memory map of a process or processes. |
| 30 |
.SH OPTIONS |
| 31 |
.TP |
| 32 |
\fB\-x\fR, \fB\-\-extended\fR |
| 33 |
Show the extended format. |
| 34 |
.TP |
| 35 |
\fB\-d\fR, \fB\-\-device\fR |
| 36 |
Show the device format. |
| 37 |
.TP |
| 38 |
\fB\-q\fR, \fB\-\-quiet\fR |
| 39 |
Do not display some header or footer lines. |
| 40 |
.TP |
| 41 |
\fB\-A\fR, \fB\-\-range\fR \fIlow\fR[,\fIhigh\fR] |
| 42 |
Limit results to the given range to |
| 43 |
.I low |
| 44 |
and |
| 45 |
.I high |
| 46 |
address range. Notice that the \fIlow\fR and \fIhigh\fR arguments are single string |
| 47 |
separated with comma. \fIhigh\fR can be omitted. |
| 48 |
.TP |
| 49 |
\fB\-X\fR |
| 50 |
Show even more details than the \fB\-x\fR option. WARNING: format changes |
| 51 |
according to \fI/proc/PID/smaps\fR |
| 52 |
.TP |
| 53 |
\fB\-XX\fR |
| 54 |
Show everything the kernel provides |
| 55 |
.TP |
| 56 |
\fB\-p\fR, \fB\-\-show\-path\fR |
| 57 |
Show full path to files in the mapping column |
| 58 |
.TP |
| 59 |
\fB\-k\fR, \fB\-\-use\-kernel\-name\fR |
| 60 |
If available, use names provided by the kernel instead of "[ anon ]" |
| 61 |
.TP |
| 62 |
\fB\-c\fR, \fB\-\-read\-rc\fR |
| 63 |
Read the default configuration |
| 64 |
.TP |
| 65 |
\fB\-C\fR, \fB\-\-read\-rc\-from\fR \fIfile\fR |
| 66 |
Read the configuration from \fIfile\fR |
| 67 |
.TP |
| 68 |
\fB\-n\fR, \fB\-\-create\-rc\fR |
| 69 |
Create new default configuration |
| 70 |
.TP |
| 71 |
\fB\-N\fR, \fB\-\-create\-rc\-to\fR \fIfile\fR |
| 72 |
Create new configuration to \fIfile\fR |
| 73 |
.TP |
| 74 |
\fB\-h\fR, \fB\-\-help\fR |
| 75 |
Display help text and exit. |
| 76 |
.TP |
| 77 |
\fB\-V\fR, \fB\-\-version\fR |
| 78 |
Display version information and exit. |
| 79 |
.SH "EXIT STATUS" |
| 80 |
.PP |
| 81 |
.TP |
| 82 |
.B 0 |
| 83 |
Success. |
| 84 |
.TP |
| 85 |
.B 1 |
| 86 |
Failure. |
| 87 |
.TP |
| 88 |
.B 42 |
| 89 |
Did not find all processes asked for. |
| 90 |
.SH "SEE ALSO" |
| 91 |
.BR ps (1), |
| 92 |
.BR pgrep (1) |
| 93 |
.SH STANDARDS |
| 94 |
No standards apply, but |
| 95 |
.B pmap |
| 96 |
looks an awful lot like a SunOS command. |
| 97 |
.SH "REPORTING BUGS" |
| 98 |
Please send bug reports to |
| 99 |
.MT [email protected] |
| 100 |
.ME . |