delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/20/04:08:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: RE: Offer for killall-script
Date: Sat, 20 Apr 2002 10:07:54 +0200
Message-ID: <002e01c1e842$7956ecf0$651c440a@BRAMSCHE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <00ad01c1e802$37c1f040$0100a8c0@advent02>

> > 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 <taskname> | <tasknamepart>
> >
> >
> > $ 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 ?

Regards
Ralf


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019