]> granicus.if.org Git - psmisc/commitdiff
doc: Fix minor issues with man pages
authorRafael Fontenelle <rafaelff@gnome.org>
Thu, 4 Feb 2021 15:16:24 +0000 (12:16 -0300)
committerCraig Small <csmall@dropbear.xyz>
Fri, 5 Feb 2021 21:57:52 +0000 (08:57 +1100)
doc/fuser.1
doc/killall.1
doc/peekfd.1
doc/prtstat.1
doc/pslog.1
doc/pstree.1

index d0858a2b9d2cdd8737727c824712322626029cfb..8f83477a36b3d3b3ec061a36aed61db54a9d0b5a 100644 (file)
@@ -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
index f0d28a79fd454379ec6d3d4c20f4e949b49a9962..b82abeda9fccbb5be08a58b79003db093a45b297 100644 (file)
@@ -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
index c7cda700fe502e61e2051585bbfb495832fb0c8d..5e5c8d0dd8cd2f22650beb687db8a9e47334df82 100644 (file)
@@ -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 <PID>
+.BI "Error attaching to pid " <PID>
 An unknown error occurred while attempted to attach to a process, you
 may need to be root.
 .SH BUGS
index f9fe32ef581639c72af904030e5468d0a15387de..3a7aed6f0a5ca8d5af048b423f2a72ad80205a49 100644 (file)
@@ -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/<PID>/stat
+.BI /proc/ pid /stat
 source of the information
 .B prtstat
 uses.
index 6122624a8e9719b5465221561044e16a7acf87d5..5b6ec5a7f71f6d40b63d4ab817f35c9b49189a5c 100644 (file)
@@ -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
index 58520a2b1dd0ebef77e5146eb0b3646c32314cba..0711954a683b534975c45a8480bac969c724fbfd 100644 (file)
@@ -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