what is the easiest way to kill a "hung" program. in my case it is the package manager or the software manager.
Announcement
Collapse
No announcement yet.
kill a program
Collapse
This topic is closed.
X
X
-
Ctrl+Alt+Esc
This gives a skull cursor. Position it on the application window and click. Program is killed.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
-
-
yes that is a cool one , and has been around sence at least the KDE-3 series that I know of.
however it wont help you on a runaway process.
for instance the other day Nepomuk puked on me at start up (never happened before or sense) .
in this case sense thare was no GUI or window to click the scull and cross bones on I puled up top (actually I puled up top to see what was slowing down the system) and upon seeing Nepomuk eating up 99/100% CPU cycles I pressed the K key then entered the PID of the process and hit enter top will ask if you want to kill the process with signal 15 (or maby something else) hit enter agin and it kills it
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
Originally posted by vinnywright View Postyes that is a cool one , and has been around sence at least the KDE-3 series that I know of.
however it wont help you on a runaway process.
for instance the other day Nepomuk puked on me at start up (never happened before or sense) .
in this case sense thare was no GUI or window to click the scull and cross bones on I puled up top (actually I puled up top to see what was slowing down the system) and upon seeing Nepomuk eating up 99/100% CPU cycles I pressed the K key then entered the PID of the process and hit enter top will ask if you want to kill the process with signal 15 (or maby something else) hit enter agin and it kills it
VINNY
There is also the krunner plugin terminal applications which lets you hit Alt+F2 and type "kill applicationname" to kill that application (it will list them if there are more then one as well and can be configured to sort them by cpu usage). It also lets you send either SIGTERM or SIGKILL to the process (either ask it to terminate nicely (better) or just stop it dead (only if it does not want to exit)).
Note: there is a better version of top called htop, it adds colours and some graphs at the top and is easier to configure/use. If you use top allot I would recommend trying it.Last edited by james147; Oct 31, 2012, 04:11 AM.
- Top
- Bottom
Comment
-
Originally posted by james147 View PostIn this case you can hit Ctrl+ESC to bring up the System Activity monitor which you can select a process to kill similar to top.
Originally posted by james147 View PostThere is also the krunner plugin terminal applications which lets you hit Alt+F2 and type "kill applicationname" to kill that application (it will list them if there are more then one as well and can be configured to sort them by cpu usage). It also lets you send either SIGTERM or SIGKILL to the process (either ask it to terminate nicely (better) or just stop it dead (only if it does not want to exit)).
Originally posted by james147 View PostNote: there is a better version of top called htop, it adds colours and some graphs at the top and is easier to configure/use. If you use top allot I would recommend trying it.
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
I used killall. But then I read on some versions of Linux this kills ALL programs the user can kill. Since then I only use pkill since that only kills the program which name you give it.
I'm afraid if I ever change to another distro, I'll accidentally may use killall if I'm used to it.
- Top
- Bottom
Comment
-
Originally posted by vinnywright View PostI did know of htop I just never got my hands dirty with it yet ,it dident seem to work like I thought it should......hummm maby some reading up on it's operation is in order
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
-
If it's already a hung program, and the need still exists to 'kill' it, doesn't that mean that it has 'returned to life' -- become a zombie?Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
Comment