Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 12:21:46 -0400
From:      Roman Katsnelson <romank@graphnet.com>
To:        Arjan <lists@alpha.nl>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Can't kill processes
Message-ID:  <35E1931A.94FA3D71@graphnet.com>
References:  <02b901bdcf73$8eff8120$98626dc2@lisboa.nedstat.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35E1931A.94FA3D71>