docs: mention long options in man pmap.1

Also add range option to manual page. The commit includes few generic manual
clean ups as well.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-06-06 23:08:36 +02:00
parent 2cf4e8e03a
commit f6d715e7fa

53
pmap.1
View File

@ -5,37 +5,44 @@
.\" Licensed under version 2 of the GNU General Public License. .\" Licensed under version 2 of the GNU General Public License.
.\" Written by Albert Cahalan. .\" Written by Albert Cahalan.
.\" .\"
.TH PMAP 1 "October 26, 2002" "Linux" "Linux User's Manual" .TH PMAP "1" "June 2011" "procps-ng" "User Commands"
.SH NAME .SH NAME
pmap \- report memory map of a process pmap \- report memory map of a process
.SH SYNOPSIS .SH SYNOPSIS
.B pmap .B pmap
.RB [ \-x | \-d ] [\fIoptions\fR] \fIpid\fR [...]
.RB [ \-q ]
.I pid
\& ...
.br
.B pmap \-V
.SH DESCRIPTION .SH DESCRIPTION
The pmap command reports the memory map of a process or processes. The pmap command reports the memory map of a process or processes.
.SH OPTIONS
.SH "GENERAL OPTIONS" .TP
.TS \fB\-x\fR, \fB\-\-extended\fR
lB l l. Show the extended format.
\-x extended Show the extended format. .TP
\-d device Show the device format. \fB\-d\fR, \fB\-\-device\fR
\-q quiet Do not display some header/footer lines. Show the device format.
\-V show version Displays version of program. .TP
.TE \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
\fB\-h\fR, \fB\-\-help\fR
Display help text and exit.
.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information and exit.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR ps (1), .BR ps (1),
.BR pgrep (1) .BR pgrep (1)
.SH STANDARDS .SH STANDARDS
No standards apply, but pmap looks an awful lot like a SunOS command. No standards apply, but pmap looks an awful lot like a SunOS command.
.SH "REPORTING BUGS"
.SH BUG REPORTS Please send bug reports to
Please send bug reports to <procps@freelists.org> .UR procps\@freelists.org
.UE