Die NOW?

Blake Barnett shadoi at nanovoid.com
Mon Sep 25 12:40:27 MDT 2006


kill -9 <pid>

If that creates a zombie process (state is set to Z in ps output), or  
a process his hung waiting on disk I/O (state is set to D in ps  
output), it's not possible to kill it.

-Blake


On Sep 25, 2006, at 11:37 AM, Steve wrote:

> Hey there,
> I've got a problem and I can't seem to find a solution, I'm hoping
> some kind soul on the plug list can help me with what SHOULD be a
> rather simple thing.
> I'm working on a game, and occasionally I have coding mistakes creep
> in that make the game process unkillable.
> I'm wondering if there is anyway to tell the OS to kill the darned
> thing right now.
> I've tried
> killall mygame
> And that doesn't seem to kill it right away, it seems to ask the
> process to politely exit.
> But what if I need it to die RIGHT now.  Is there a bash command I can
> use to kill the process immediately without "asking it's permission"
> as seems to be the case with my current method?
>
> Thanks in advance!
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */




More information about the PLUG mailing list