kill a linux process that won’t die
Trying to kill a process in linux and it just won’t die?
Try this:
kill -s 9 [PID]
DEAD
Categories: Uncategorized
Trying to kill a process in linux and it just won’t die?
Try this:
kill -s 9 [PID]
DEAD
Thanks for the tip, but it didn’t work for me. I was trying to run:
sudo mt -f /dev/std0 erase
to erase a tape and it got stuck. I’ve tried logging out of my session, using ’sudo kill -KILL (PID)’ and your suggestion and have not yet been able to make it dead.
Anything else I can try? Thanks!
I just tried it and it worked when I thought my computer was frozen. Except I did:
kill -9 [PID]
without that “s” thrown in there.
works like a charm;
eg. meld was stuck on ubuntu with large folders
“kill -9 meld” did not work
“kill -s 9 meld” id did