From owner-freebsd-questions Mon Sep 3 23:19:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id 320DD37B405 for ; Mon, 3 Sep 2001 23:19:26 -0700 (PDT) Received: (qmail 28865 invoked by uid 100); 4 Sep 2001 06:19:25 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15252.29293.75976.588108@guru.mired.org> Date: Tue, 4 Sep 2001 01:19:25 -0500 To: Stephen Montgomery-Smith Cc: questions@freebsd.org Subject: Re: killall longprocname In-Reply-To: <71408251@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephen Montgomery-Smith 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, 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