LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-28-2005, 05:20 PM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201

Rep: Reputation: 30
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
 
Old 02-28-2005, 05:23 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,995

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 02-28-2005, 05:26 PM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
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

Last edited by Boow; 02-28-2005 at 05:29 PM.
 
Old 02-28-2005, 05:27 PM   #4
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201

Original Poster
Rep: Reputation: 30
Thank you, did the trick!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing running processes hitest Suse/Novell 4 09-03-2005 02:22 PM
killing a lot of processes at once psychobyte Linux - General 1 09-26-2003 03:22 PM
killing all of a user's processes thebeaglebeagle Linux - Software 1 09-04-2003 11:33 AM
killing processes adriaanbw Linux - Software 3 05-24-2003 10:46 PM
Vm: Killing Processes tbhebe Linux - General 3 03-07-2002 09:51 AM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration