From 76a2d4c0a1cb1a71951b1fbd5a105fdf8adc4857 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Wed, 8 Aug 2018 20:13:58 +1000 Subject: [PATCH] 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 --- ps/ps.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ps/ps.1 b/ps/ps.1 index 82f973b9..e651143e 100644 --- a/ps/ps.1 +++ b/ps/ps.1 @@ -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