Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old September 1st, 2006   #1
eighthate
A Carafe of Ubuntu
 
eighthate's Avatar
 
Join Date: May 2006
Location: Montreal
Beans: 118
Ubuntu 6.10 Edgy
Send a message via AIM to eighthate Send a message via MSN to eighthate
how can i kill a non responding programm?

thanks
eighthate is offline   Reply With Quote
Old September 1st, 2006   #2
Anonii
Grande Half-n-Half Cinnamon Ubuntu
 
Anonii's Avatar
 
Join Date: Aug 2006
My beans are hidden!
Re: how can i kill a non responding programm?

The best way if its a GUI application is to:

"ALT + F2" and call the program "xkill" then click on the bad program.
Anonii is offline   Reply With Quote
Old September 1st, 2006   #3
professor_chaos
Quad Shot of Ubuntu
 
professor_chaos's Avatar
 
Join Date: Apr 2005
Location: 127.0.0.1
Beans: 404
Ubuntu 9.04 Jaunty Jackalope
Re: how can i kill a non responding programm?

other ways for both gui and non-gui apps, is to kill the process by the name of the process, by using "killall" followed by the process name.

ex
Code:
killall gnome-panel
if you know the process id, or pid. For example, in the terminal you can type ps -aef. And you will get a list of processes running. You can then use the command kill to kill the process.

ex for a pid of 2893
Code:
kill -9 2893
__________________
Registered linux user 394273
professor_chaos is offline   Reply With Quote
Old September 1st, 2006   #4
Anonii
Grande Half-n-Half Cinnamon Ubuntu
 
Anonii's Avatar
 
Join Date: Aug 2006
My beans are hidden!
Re: how can i kill a non responding programm?

Quote:
Originally Posted by professor_chaos View Post
other ways for both gui and non-gui apps, is to kill the process by the name of the process, by using "killall" followed by the process name.

ex
Code:
killall gnome-panel
if you know the process id, or pid. For example, in the terminal you can type ps -aef. And you will get a list of processes running. You can then use the command kill to kill the process.

ex for a pid of 2893
Code:
kill -9 2893
You can find the process id with the top command:
top
and check the PID section.

And then, as professor_chaos said, you can kill it with
kill -9 <PID>

Also, check "man top" for more info, if you like to learn more.
Anonii is offline   Reply With Quote
Old September 1st, 2006   #5
morrin
5 Cups of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Re: how can i kill a non responding programm?

ps x will get you a list of processes and ids. If you type in top, as mentioned above, you can simply type k and then you will see "PID to kill:" at the top. You can just give it the PID there or a -9 PID if it's not dying
morrin is offline   Reply With Quote
Old September 1st, 2006   #6
john_markh
5 Cups of Ubuntu
 
john_markh's Avatar
 
Join Date: Feb 2006
Beans: 28
Ubuntu 8.04 Hardy Heron
Re: how can i kill a non responding programm?

1. First of all you will need to figure out the PID (process id) of none responding program
Code:
ps -a
2. Find your application in the list and kill it
Code:
kill 6922
where 6922 is your process id
john_markh is offline   Reply With Quote
Old September 1st, 2006   #7
ayoli
Fresh Brewed Ubuntu
 
ayoli's Avatar
 
Join Date: Jun 2006
Location: Millau, France
Beans: 1,469
Ubuntu 9.04 Jaunty Jackalope
Send a message via Yahoo to ayoli
Re: how can i kill a non responding programm?

another nice way to use kill without run ps or top before:

Code:
kill -9 `pidof application_name`
replace application_name with the name of app you want to kill.
btw there is also an gnome applet named force quit which can be use to kill graphica apps by cliking on them.
regards.
__________________
my blog - linux user #423778 - Ubuntu user #4214
HP nc6400 Core duo 1,66GHz Ram 3Go GChip i945GM HD 250Go@7200rpm
Get a dynamic blogroll - Install gnome globalmenu
ayoli is offline   Reply With Quote
Old September 1st, 2006   #8
jotagab
5 Cups of Ubuntu
 
jotagab's Avatar
 
Join Date: Jun 2006
Location: French Alps
My beans are hidden!
Ubuntu 7.04 Feisty Fawn
Re: how can i kill a non responding programm?

If you want to avoid the command-line add the "Force Quit" to your panel:
-Mouse right-click
-Add to Panel...
-[Desktop & Windows] Force Quit

Then click on it, and then on the non-responding application (but beware, I think you can also kill the panel itself, or even Gnome).
jotagab is offline   Reply With Quote
Old September 7th, 2006   #9
jis
Dipped in Ubuntu
 
Join Date: May 2006
Location: Finland
Beans: 564
Re: how can i kill a non responding programm?

Is there a "Force Quit" equivalent for Xfce?
jis is offline   Reply With Quote
Old September 7th, 2006   #10
slimdog360
Fresh Brewed Ubuntu
 
slimdog360's Avatar
 
Join Date: Apr 2006
Location: in the dark
Beans: 1,513
Re: how can i kill a non responding programm?

my favourite way is pressing ctrl+alt+esc you get a cool skull and crossbones
__________________
Imagination is more important than knowledge
slimdog360 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:04 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry