From: Rafael Fontenelle Date: Thu, 4 Feb 2021 15:16:24 +0000 (-0300) Subject: doc: Fix minor issues with man pages X-Git-Tag: v23.4~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63e5e4afc0fd594981efabec2d24229078f0a85a;p=psmisc doc: Fix minor issues with man pages --- diff --git a/doc/fuser.1 b/doc/fuser.1 index d0858a2..8f83477 100644 --- a/doc/fuser.1 +++ b/doc/fuser.1 @@ -24,7 +24,7 @@ fuser \- identify processes using files or sockets .RB [ \-\c .IR SIGNAL ] ] -.IR name " \&...\&" +.IR name " ..." .br .B fuser \-l .br @@ -134,12 +134,12 @@ and never on the file names even on network based file systems. .BR \-l ", " \-\-list\-signals List all known signal names. .TP -.BI -m " NAME \fR, " "\-\-mount " NAME +.BI -m " NAME\fR, " "\-\-mount " NAME .I NAME specifies a file on a mounted file system or a block device that is mounted. All processes accessing files on that file system are listed. If a directory is specified, it is automatically changed to -.IR NAME /. +.IR NAME / to use any file system that might be mounted on that directory. .TP .BR \-M ", " \-\-ismountpoint @@ -195,7 +195,6 @@ option is not used. Append the user name of the process owner to each PID. .TP .BR \-v ", " \-\-verbose - Verbose mode. Processes are shown in a .BR ps -like style. The fields PID, USER and COMMAND are similar to diff --git a/doc/killall.1 b/doc/killall.1 index f0d28a7..b82abed 100644 --- a/doc/killall.1 +++ b/doc/killall.1 @@ -24,7 +24,7 @@ killall \- kill processes by name .RB [ \-q , \ \-\-quiet ] .RB [ \-r , \ \-\-regexp ] .RB [ \-s , \ \-\-signal -.IR SIGNAL ,\ -SIGNAL ] +.IR SIGNAL ,\ \fB\- \fISIGNAL\fR ] .RB [ \-u , \ \-\-user .IR user ] .RB [ \-v , \ \-\-verbose ] @@ -32,15 +32,15 @@ killall \- kill processes by name .RB [ \-y , \ \-\-younger\-than .IR TIME ] .RB [ \-I , \ \-\-ignore-case ] -.RB [ \-V, \ \-\-version ] +.RB [ \-V , \ \-\-version ] .RB [ \-\- ] -.I name ... +.IR name " ..." .br .B killall .RB \-l .br .B killall -.RB \-V, \ \-\-version +.BR \-V , \ \-\-version .ad b .SH DESCRIPTION .B killall @@ -113,7 +113,7 @@ Do not complain if no processes were killed. .IP "\fB\-r\fP, \fB\-\-regexp\fP" Interpret process name pattern as a POSIX extended regular expression, per .BR regex (3). -.IP "\fB\-s\fP, \fB\-\-signal\fP, \fB\-SIGNAL\fP" +.IP "\fB\-s\fP, \fB\-\-signal\fP, \fB\-\fISIGNAL\fP" Send this signal instead of SIGTERM. .IP "\fB\-u\fP, \fB\-\-user\fP" Kill only processes the specified user owns. Command names are diff --git a/doc/peekfd.1 b/doc/peekfd.1 index c7cda70..5e5c8d0 100644 --- a/doc/peekfd.1 +++ b/doc/peekfd.1 @@ -19,8 +19,7 @@ peekfd \- peek at file descriptors of running processes .RB [ \-h , \-\-help ] .I pid .RI [ fd ] -.RI [ fd ] -.B ... +.RI [ fd "] ..." .SH DESCRIPTION .B peekfd attaches to a running process and intercepts all reads and writes to @@ -42,7 +41,7 @@ Display a version string. .IP -h Display a help message. .SH FILES -.I /proc/*/fd +.BI /proc/ * /fd .RS Not used but useful for the user to look at to get good file descriptor numbers. @@ -51,7 +50,7 @@ None. .SH DIAGNOSTICS The following diagnostics may be issued on stderr: .TP -.B Error attaching to pid +.BI "Error attaching to pid " An unknown error occurred while attempted to attach to a process, you may need to be root. .SH BUGS diff --git a/doc/prtstat.1 b/doc/prtstat.1 index f9fe32e..3a7aed6 100644 --- a/doc/prtstat.1 +++ b/doc/prtstat.1 @@ -16,13 +16,13 @@ prtstat \- print statistics of a process .I pid .br .B prtstat -.RB \-V | \-\-version +.BR \-V | \-\-version .ad b .SH DESCRIPTION .B prtstat prints the statistics of the specified process. This information comes from the -.I /proc/PID/stat +.BI /proc/ pid /stat file. .SH OPTIONS .TP @@ -34,7 +34,7 @@ Show the version information for .BR prtstat . .SH FILES .TP -/proc//stat +.BI /proc/ pid /stat source of the information .B prtstat uses. diff --git a/doc/pslog.1 b/doc/pslog.1 index 6122624..5b6ec5a 100644 --- a/doc/pslog.1 +++ b/doc/pslog.1 @@ -8,7 +8,7 @@ .\" .TH PSLOG 1 "2020-09-09"Linux" "Linux User's Manual" .SH NAME -pslog\- report current logs path of a process +pslog \- report current logs path of a process .SH SYNOPSIS .ad l .B pslog @@ -29,7 +29,7 @@ Display version information. .BR ps (1), .BR pwdx (1). .SH AUTHOR -Vito Mule’ +Vito Mule\(cq .MT mulevito@gmail.com .ME wrote diff --git a/doc/pstree.1 b/doc/pstree.1 index 58520a2..0711954 100644 --- a/doc/pstree.1 +++ b/doc/pstree.1 @@ -16,7 +16,7 @@ pstree \- display a tree of processes .RB [ \-c , \ \-\-compact\-not ] .RB [ \-C , \ \-\-color\ \fIattr\fB ] .RB [ \-g , \ \-\-show\-pgids ] -.RB [ \-h , \ \-\-highlight\-all , \ \-H \fIpid\fB , \ \-\-highlight\-pid\ \fIpid\fB ] +.RB [ \-h , \ \-\-highlight\-all , \ \-H \fI\ pid\fB \fR, \fB\ \-\-highlight\-pid\ \fIpid\fB \fR] .RB [ \-l , \ \-\-long ] .RB [ \-n , \ \-\-numeric\-sort ] .RB [ \-N , \ \-\-ns\-sort\ \fIns\fB ] @@ -28,10 +28,10 @@ pstree \- display a tree of processes .RB [ \-u , \ \-\-uid\-changes ] .RB [ \-Z , \ \-\-security\-context ] .RB [ \-A , \ \-\-ascii , \ \-G , \ \-\-vt100 , \ \-U , \ \-\-unicode ] -.RB [ \fIpid\fB , \ \fIuser\fB] +.RB [ \fIpid\fB , \ \fIuser\fR] .br .B pstree -.RB \-V , \ \-\-version +.BR \-V , \ \-\-version .ad b .SH DESCRIPTION .B pstree @@ -99,7 +99,7 @@ Disable compaction of identical subtrees. By default, subtrees are compacted whenever possible. .IP \fB\-C\fP Color the process name by given attribute. Currently \fBpstree\fR -only accepts \fIage\fR which colors by process age. +only accepts the value \fBage\fR which colors by process age. Processes newer than 60 seconds are green, newer than an hour yellow and the remaining red. .IP \fB\-g\fP