Date: Tue, 4 Sep 2001 01:19:25 -0500 From: Mike Meyer <mwm@mired.org> To: Stephen Montgomery-Smith <stephen@math.missouri.edu> Cc: questions@freebsd.org Subject: Re: killall longprocname Message-ID: <15252.29293.75976.588108@guru.mired.org> In-Reply-To: <71408251@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith <stephen@math.missouri.edu> types: > If I create and run a program called abcdefghijklmnopqrstuvwxyz and then > try to kill it using killall, the only command that seems to work is: > killall abcdefghijklmnop > that is, it looks like killall only looks at the first 16 characters. I > don't see anything about this is the man page. Is this the appropriate > behavior? You need to read the man page with a bit more care: -e Require an exact match for very long names. If a command name is longer than 15 characters, the full name may be unavailable (i.e. it is swapped out). In this case, killall will kill everything that matches within the first 15 characters. With -e, such entries are skipped. killall prints a message for each skipped entry if -v is specified in addi- tion to -e, <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15252.29293.75976.588108>