Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-15-2005, 07:43 AM   #1
Registered: Oct 2005
Distribution: Ubuntu 8.04, Ubuntu 10.04
Posts: 159

Rep: Reputation: 15
Terminate Hung Program


Running Ubuntu 5.10 (Gnome).

How can I terminate a hung program without hitting CTR-ALT-Backspace to relaunch Gnome?
Isn't there a command or key sequence (like CTRL+ALT+DEL in Windows)?

Old 11-15-2005, 07:57 AM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try gnome-system-monitor, see under Applications -> System menu.
Also you can open a console and do:
killall programname
ps -ef|grep programname to get the PID and do: kill PID
or as last resort: kill -9 PID
There's also xkill which let's you click the program window to kill it.

And please use the search function on this site.
Old 11-15-2005, 07:59 AM   #3
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
say your login to linux is Ingla, type:

ps -u Ingla

you will see a list of processes (similar to ctrl-alt-del in windows). There will be a PID number for each job. Find the PID number of the job you want to end, say its 1240 then type:

kill 1240

see ya...
Old 11-15-2005, 08:13 AM   #4
Registered: Oct 2005
Distribution: Ubuntu 8.04, Ubuntu 10.04
Posts: 159

Original Poster
Rep: Reputation: 15
Thank you.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to terminate this command slpwkr Programming 4 03-28-2005 11:33 AM
terminate the connection ust Linux - General 1 03-19-2005 10:07 AM
how to terminate processes feetyouwell Programming 8 09-18-2004 02:27 PM
How can I terminate an application? yangyiqi Linux - Software 7 12-10-2003 06:39 PM
jvm won't terminate beccala33 Linux - Newbie 0 05-14-2002 11:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:56 AM.

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