Document the fact that matching against a process command-name will

only work on the first MAXCOMLEN (19) characters of that name.

Noticed by:	Peter Holm
This commit is contained in:
Garance A Drosehn 2004-08-16 04:49:43 +00:00
parent 40f2ac28a0
commit 47208ac20a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133804

View File

@ -171,6 +171,22 @@ This option is valid only when given as the first argument to
.Nm pkill .
.El
.Pp
If any
.Ar pattern
operands are specified, they are used as regular expressions to match
the command name or full argument list of each process.
If the
.Fl f
option is not specified, then the
.Ar pattern
will attempt to match the command name.
However, presently
.Fx
will only keep track of the first 19 characters of the command
name for each process.
Attempts to match any characters after the first 19 of a command name
will quietly fail.
.Pp
Note that a running
.Nm pgrep
or