Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-WM-Posted-At: avacado.atomice.net; Sun, 21 Apr 02 21:49:28 +0100 Message-ID: <004d01c1e976$076e33c0$0100a8c0@advent02> From: "Chris January" To: References: <005c01c1e958$918b8bc0$651c440a AT BRAMSCHE> Subject: Re: Offer for killall-script Date: Sun, 21 Apr 2002 21:49:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > > > > In the cygwin-apps I have seen some messages > > > > http://sources.redhat.com/ml/cygwin-apps/2002-01/msg00340.html about a > > > killall > > > > util, which was going to be part of the cygutils packages but was waiting > > > > because of licensing problems. > > > > > > > > For killall I'm using a good working script for about a half year. Perhaps > > > > anyone like this to integrate in the cygutils package. This script allows > > > > killing more than one task, because it does a grep with the first param. > > > > > > > > syntax: killall | > > > > > > > > > > > > $ cat /bin/killall > > > > ps -ea | grep $1 | gawk '$1 ~ /^[^SI]/ { system("kill -9 " $1); }' > > > See Randal's "Usesless Use of kill -9" posts... > > > http://groups.google.com/groups?q=insubject:useless+insubject:use+insubject: > > > kill&hl=en&selm=8cpw0y2gb2.fsf_-_%40gadget.cscaper.com&rnum=1 > > > i.e. the signal sent should be configurable :-) > > > > > Okay I've read this - Does anyone have a solution for this or should > > this wheel > > have to created again ? At such time as the /proc patch is accepted into the Cygwin DLL, it should be possible to coerce killall from psmisc to compile and run. Regards Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/