task manager?
I am running suse 9.3 and wonder if there is a way to kill a running program that freezes. Something like windows task manager. I stumbled upon a kill command in the console, but i do not know how to kill a specific program. Thanks for your help.
|
use "ps -e | grep <program name>" get the pid, and "kill -9 <pid>".
the thing that's similar to task manager for listing processes is "top", use 'q' to quit it. |
I would do a few commands to see what is the problem, and then kill it.
Code:
(you@yours)$top Code:
(you@yours)$ps -ef|grep (name of program you want to kill) Code:
(you@yours)$kill (PID from the last command) the htop program streamlines some of that, it is an enhanced top that allows you to kill process directly within it. You can find it at http://htop.sourceforge.net/ Peace, JimBass |
If you are using kde and you prefer a gui app then you can also use ksysguard.
Hope this helps |
Thanks for all the info! I appreciate it.
|
see
man top |
xkill is what you were looking for.
Edit: and this is more convenient than the TM under Windows. |
killall programname
or if that fails: killall -9 programname |
All times are GMT -5. The time now is 10:40 AM. |