Re: force quit


Subject: Re: force quit
From: Charlie Watts (cewatts@frontier.net)
Date: Mon Feb 18 2002 - 06:44:31 MST


Hrm, I'll say it to you, too:

Ack, I really, really recommend you try less violent versions of kill
first.

As stolen from Randal L. Schwartz's periodic "Useless Use of Kill -9
award":

No no no. Don't use kill -9.

It doesn't give the process a chance to cleanly:

1) shut down socket connections

2) clean up temp files

3) inform its children that it is going away

and so on and so on and so on.

Generally, send 15, and wait a second or two, and if that doesn't
work, send 2, and if that doesn't work, send 1. If that doesn't,
REMOVE THE BINARY because the program is badly behaved!

Don't use kill -9. Don't bring out the flamethrower just to light a
fire.

There -are- graphical tools for doing this in KDE, though. Some folks have
posted them ...

On Mon, 18 Feb 2002, Sean O. Denney wrote:

> 1. Open a terminal window
> 2. Type "ps -ax"
> 3. Look under the column PID for the applications process ID
> 4. Type "kill -9 PID" (replacing PID for the number you just looked
> up)
>
> --- Sean
>
> On Sun, 17 Feb 2002, Chris Alden wrote:
>
> > Occasionally applications in KDE (or any other desktop
> > environment) will freeze. Is there any way to force
> > an individual application that has frozen to quit? Is
> > this achieved, (if it is possible), through the
> > console environment? Any help would be greatly
> > appreciated. Thanks.

-- 
Charlie Watts
cewatts@frontier.net
Frontier Internet, Inc.
http://www.frontier.net/



This archive was generated by hypermail 2a24 : Mon Feb 18 2002 - 06:57:35 MST