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 2658b33900
commit bb272580a6
2 changed files with 6 additions and 1 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
procps-ng-NEXT procps-ng-NEXT
---------------- ----------------
* docs: Use correct symbols for -h option in free.1 Debian #898774 * docs: Use correct symbols for -h option in free.1 Debian #898774
* docs: ps.1 now warns about command name length issue #101
* top: can now exploit 256-color terminals issue #96 * top: can now exploit 256-color terminals issue #96
* top: preserves 'other filters' in configuration file issue #99 * top: preserves 'other filters' in configuration file issue #99
* top: can now collapse/expand forest view children issue #99 * top: can now collapse/expand forest view children issue #99

View File

@ -4,7 +4,7 @@
.\" Quick hack conversion by Albert Cahalan, 1998. .\" Quick hack conversion by Albert Cahalan, 1998.
.\" Licensed under version 2 of the Gnu General Public License. .\" Licensed under version 2 of the Gnu General Public License.
.\" .\"
.TH PS 1 2018-05-31 "procps-ng" "User Commands" .TH PS 1 2018-08-08 "procps-ng" "User Commands"
.\" .\"
.\" To render this page: .\" To render this page:
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 & .\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
@ -236,6 +236,10 @@ Identical to
Select by command name. This selects the processes whose executable name is Select by command name. This selects the processes whose executable name is
given in given in
.IR cmdlist . .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 .TP
.BI \-G \ grplist .BI \-G \ grplist
Select by real group ID (RGID) or name. This selects the processes whose Select by real group ID (RGID) or name. This selects the processes whose