Kill
David Hummel
dhml at comcast.net
Tue Dec 7 15:16:58 EST 2004
On Tue, Dec 07, 2004 at 02:55:54PM -0500, Bob Gorman wrote:
>
> At 01:52 PM 12/7/2004, John Chambers wrote:
> >
> > Jerry Feldman writes:
> > >
> > > I use Kill -TERM gnome
> > > Where Kill is my script that greps the ps output.
> >
> > Funny; I have a script by the same name that does the same thing.
> > I wonder what percent of linux/unix geeks have written a script
> > like this
>
> I wrote one that kills nicely at first (sigterm, sigint), then if the
> process persists more aggressive with sigkill.
>
> However, there is pkill and skill as part of the procps rpm now.
And killall, if you want to be more explicit about what to kill.
-David
More information about the Discuss
mailing list