LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   when programs freeze (https://www.linuxquestions.org/questions/linux-software-2/when-programs-freeze-66013/)

Mojojo 06-16-2003 04:58 PM

when programs freeze
 
Is there anything you can do when a program freezes to terminate it quickly. I just log out and log back in is there an easier way.

DrOzz 06-16-2003 05:01 PM

well lets pretend your using the burning software k3b, and it crashes on you, and btw if you don't know k3b is a burning program...anyways lets say it crashes, you can do the following:
ctrl-alt-f2
login as root
type --> killall -9 k3b
ctrl-f7 to go back to your X Windows.

DrOzz 06-16-2003 05:06 PM

actually i guess i should tell you the other way of doing this, cause sometimes its not as easy as just typing the programs name, so the other way would be the following:
ctrl-alt-f2
login as root
type --> ps -aux|more
look for the program in the last column (command column)
when you locate it, note the PID (PID (2nd)column)
when you find the PID:
type --> kill PID (where PID is the number you noted)
ctrl-f7 to go back to X.

Mojojo 06-16-2003 05:12 PM

Dahm that was a quick response (3min). Thanx drozz

Mojojo 06-16-2003 05:25 PM

By the way it ctrl-alt-f7, but thanks again

DrOzz 06-16-2003 06:46 PM

oh sorry...on my machine i can use either ctrl-alt-f7 or just ctrl-f7, i am just used to using ctrl-f7 thats why i said that :P


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