docs: Update ps.1 to warn about command name length

Previous versions of ps used to only match on the first 15 characters
because that's what the kernel used to provide. Newer kernels have a
longer length for this field so procps has been updated to suit.

References:
 procps-ng/procps#101
 https://bugzilla.suse.com/show_bug.cgi?id=1099091
This commit is contained in:
Craig Small 2018-08-08 20:13:58 +10:00
parent 7febddabd8
commit 76a2d4c0a1

View File

@ -4,7 +4,7 @@
.\" Quick hack conversion by Albert Cahalan, 1998.
.\" Licensed under version 2 of the Gnu General Public License.
.\"
.TH PS 1 "February, 2018" "procps-ng" "User Commands"
.TH PS 1 2018-08-08 "procps-ng" "User Commands"
.\"
.\" To render this page:
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
@ -240,6 +240,10 @@ Identical to \fB\-\-pid\ \fI123\fR.
Select by command name. This selects the processes whose executable name is
given in
.IR cmdlist .
NOTE: The command name is not the same as the command line. Previous versions
of procps and the kernel truncated this command name to 15 characters. This
limitation is no longer present in both. If you depended on matching only
15 characters, you may no longer get a match.
.TP
.BI \-G \ grplist
Select by real group ID (RGID) or name. This selects the processes whose