LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Killing processes (http://www.linuxquestions.org/questions/linux-newbie-8/killing-processes-296006/)

hongman 02-28-2005 05:20 PM

Killing processes
 
Hello

What is the command to kill an application that has frozen? I have a few problem avi's that keep crashing XMMS player, and each time I have to reboot the system to get rid of it.

Thanks

Hong

btmiller 02-28-2005 05:23 PM

Look up the PID of the process using ps (or use pidof) and then kill <pid>. If it still doesn't exit, kill -9 <pid> should end it. if not, post the line from ps aux corresponding to the process.

Boow 02-28-2005 05:26 PM

well you can type

killall xmms

or do ps ax

then kill the apps pid number

kill pidnumber

if the process doesn't die

killall -9 xmms
kill -9 pidnumber

or in the gui just type xkill in terminal move cursor over offending app click

hongman 02-28-2005 05:27 PM

Thank you, did the trick! :)


All times are GMT -5. The time now is 09:12 PM.