diff options
author | gad <gad@FreeBSD.org> | 2004-08-16 04:49:43 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2004-08-16 04:49:43 +0000 |
commit | ceceffc9d5bed124987d16094d4e9198f096dbfd (patch) | |
tree | ef60a1c28a80b4f213615c2e54348f00cd8630b0 /usr.bin | |
parent | 7ac0169fa1f717c83984b9fa052b6b0bac06cd4a (diff) | |
download | FreeBSD-src-ceceffc9d5bed124987d16094d4e9198f096dbfd.zip FreeBSD-src-ceceffc9d5bed124987d16094d4e9198f096dbfd.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pkill/pkill.1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1 index 6b633a6..d0a29f5 100644 --- a/usr.bin/pkill/pkill.1 +++ b/usr.bin/pkill/pkill.1 @@ -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 |