From owner-freebsd-questions Mon Aug 24 09:16:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20208 for freebsd-questions-outgoing; Mon, 24 Aug 1998 09:16:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netra.graphnet.com (netra.graphnet.com [192.206.112.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20194 for ; Mon, 24 Aug 1998 09:16:10 -0700 (PDT) (envelope-from romank@graphnet.com) Received: from graphnet.com (roman.graphnet.com [192.206.112.93]) by netra.graphnet.com (8.8.8/8.8.6) with ESMTP id MAA19351; Mon, 24 Aug 1998 12:15:16 -0400 (EDT) Message-ID: <35E1931A.94FA3D71@graphnet.com> Date: Mon, 24 Aug 1998 12:21:46 -0400 From: Roman Katsnelson Organization: Graphnet, Inc X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: Arjan CC: questions@FreeBSD.ORG Subject: Re: Can't kill processes References: <02b901bdcf73$8eff8120$98626dc2@lisboa.nedstat.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arjan wrote: > > Hi, > > as an act of desperation I'm now trying to kill loads of perl-processes (all > spawned by Apache). As root I execute this command: > kill `ps -auwx | grep -i perl | grep -v grep | awk '{print $2}'` If you're absolutely sure you want to kill all the processes returned by your pipe, just use kill -KILL `ps -auwx | grep -i perl | grep -v grep | awk '{print $2}'` This is the "absolute" kill. However, it is possible that they will get spawned again... Then you just have to figure out where and how and why they are called, and change that if need be. Good luck, Roman -- Roman Katsnelson <-- Unix/NT Sys.Admin. Graphnet, Inc. <-- HQ at Teaneck http://www.wait.org <-- and in the mean time... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message