2002-10-27 16:05:13 +05:30
|
|
|
'\" t
|
|
|
|
.\" (The preceding line is a note to broken versions of man to tell
|
|
|
|
.\" them to pre-process this man page with tbl)
|
|
|
|
.\" Man page for pmap.
|
|
|
|
.\" Licensed under version 2 of the GNU General Public License.
|
|
|
|
.\" Written by Albert Cahalan.
|
|
|
|
.\"
|
2020-06-04 17:55:26 +05:30
|
|
|
.TH PMAP "1" "2020-06-04" "procps-ng" "User Commands"
|
2002-10-27 16:05:13 +05:30
|
|
|
.SH NAME
|
|
|
|
pmap \- report memory map of a process
|
|
|
|
.SH SYNOPSIS
|
2011-02-23 13:47:54 +05:30
|
|
|
.B pmap
|
2011-06-07 02:38:36 +05:30
|
|
|
[\fIoptions\fR] \fIpid\fR [...]
|
2002-10-27 16:05:13 +05:30
|
|
|
.SH DESCRIPTION
|
2020-06-04 17:55:26 +05:30
|
|
|
The
|
|
|
|
.B pmap
|
|
|
|
command reports the memory map of a process or processes.
|
2011-06-07 02:38:36 +05:30
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-x\fR, \fB\-\-extended\fR
|
|
|
|
Show the extended format.
|
|
|
|
.TP
|
|
|
|
\fB\-d\fR, \fB\-\-device\fR
|
|
|
|
Show the device format.
|
|
|
|
.TP
|
|
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
|
|
Do not display some header or footer lines.
|
|
|
|
.TP
|
|
|
|
\fB\-A\fR, \fB\-\-range\fR \fIlow\fR,\fIhigh\fR
|
|
|
|
Limit results to the given range to
|
|
|
|
.I low
|
|
|
|
and
|
|
|
|
.I high
|
|
|
|
address range. Notice that the low and high arguments are single string
|
|
|
|
separated with comma.
|
|
|
|
.TP
|
2012-09-27 17:38:04 +05:30
|
|
|
\fB\-X\fR
|
|
|
|
Show even more details than the \fB\-x\fR option. WARNING: format changes
|
|
|
|
according to \fI/proc/PID/smaps\fR
|
|
|
|
.TP
|
|
|
|
\fB\-XX\fR
|
|
|
|
Show everything the kernel provides
|
|
|
|
.TP
|
2013-11-26 18:15:22 +05:30
|
|
|
\fB\-p\fR, \fB\-\-show\-path\fR
|
|
|
|
Show full path to files in the mapping column
|
|
|
|
.TP
|
2013-11-26 18:01:44 +05:30
|
|
|
\fB\-c\fR, \fB\-\-read\-rc\fR
|
|
|
|
Read the default configuration
|
|
|
|
.TP
|
|
|
|
\fB\-C\fR, \fB\-\-read\-rc\-from\fR \fIfile\fR
|
|
|
|
Read the configuration from \fIfile\fR
|
|
|
|
.TP
|
|
|
|
\fB\-n\fR, \fB\-\-create\-rc\fR
|
|
|
|
Create new default configuration
|
|
|
|
.TP
|
|
|
|
\fB\-N\fR, \fB\-\-create\-rc\-to\fR \fIfile\fR
|
|
|
|
Create new configuration to \fIfile\fR
|
|
|
|
.TP
|
2011-06-07 02:38:36 +05:30
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
Display help text and exit.
|
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
Display version information and exit.
|
2011-12-18 18:22:03 +05:30
|
|
|
.SH "EXIT STATUS"
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.PD 0
|
|
|
|
.TP
|
|
|
|
.B 0
|
|
|
|
Success.
|
|
|
|
.TP
|
|
|
|
.B 1
|
|
|
|
Failure.
|
|
|
|
.TP
|
|
|
|
.B 42
|
|
|
|
Did not find all processes asked for.
|
|
|
|
.PD
|
|
|
|
.RE
|
2002-10-27 16:05:13 +05:30
|
|
|
.SH "SEE ALSO"
|
2011-02-23 13:47:54 +05:30
|
|
|
.BR ps (1),
|
|
|
|
.BR pgrep (1)
|
2002-10-27 16:05:13 +05:30
|
|
|
.SH STANDARDS
|
2020-06-04 17:55:26 +05:30
|
|
|
No standards apply, but
|
|
|
|
.B pmap
|
|
|
|
looks an awful lot like a SunOS command.
|
2011-06-07 02:38:36 +05:30
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Please send bug reports to
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR procps@freelists.org
|
2011-06-07 02:38:36 +05:30
|
|
|
.UE
|