View Single Post
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#12
Originally Posted by Pyrran View Post
When I've had to use kill on various linux boxes from time to time, i always use
Code:
/kill -9 pid
where pid is the process identifier as listed in the output from the 'top' command.

More info on the kill command here.
kill should always be tried before kill -9. kill gives the application the chance to clean up after itself before exiting.

At the application level, kill -9 is like pulling the battery or power cord on a computer instead of shutting it down.

After a kill command, repeat it or otherwise check that the process really is dead. If not, then kill -9 is required.