When a process just won't die
Last night I started up gmplayer after [probably] not closing down mplayer correctly. (All done from the command line) So mplayer came up complaining about lacking some library and the panel was a blacked-out shadow of the panel. I couldn't click anywhere on the display area or panel. When I click "X" to close it, it doesn't close. So then I type:
Code:
ps So I type: Code:
kill 1473 Code:
ps Code:
ps Thanks, |
If kill doesn't work.. you have to try a kill -9 to force the kill with no questions asked.
|
Hi DJOtaku, you should try xkill. Makes it much easier to kill random windows. As fas as ps, try ps aux (man ps to find out what these are). It'll show up then. When you try to kill something, there are different levels of how "cleanly" to kill it. So for example if I try kill -1 someprocess
It will try to kill it but not at the sake of leaving something undone. ie closing files, returning resources, etc. Sometimes though it can't do it so you have to just kill it anyway. You can do that with kill -9 someprocess. Of course there's still 2-8 in between those two but I can't remember right off how they are seperated. Just man kill. You should also look at killall as it does a cleaner job of killing a process in general. Hope that helps. |
thanks you two. That killed it right away. (kill -9)
|
All times are GMT -5. The time now is 04:43 PM. |