Monday, June 1, 2009

Linux: How to Kill a process forcefully

Facing problem to kill a problem at your linux box? The process is not killing although you are typing killall xxx or kill xxx???

Here is a way to kill your process forcefully from Linux. Just use -9 as option with kill. And this will not be blocked while killing. According to Linux MAN page, -9 = "this signal may not be blocked"

For example you need to kill process 1234, so just type as below

kill -9 1234

This will kill the process with a charm. The pain is gone.

No comments:

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...