Linux Adviser Freezes
| |
08 August 18:30
This page describes how to get out of problems if programs go wrong. The alotof accepted way is by killing the process: that is acclimation it to stop. If you annihilate a process, youll apparently lose any unsaved data on the process, and on any processes it has spawned
This page aswell describes what to do if the computer is absolutely frozen.
These suggestions accept added adverse after-effects the added down the account you go. For archetype killing a window in KDE will lose the unsaved data in that program, wheras acute the displace button could base all data on harder drive (in acute cases).
DISCLAIMER: Afterward instructions actuality may advance to accident of data from your computer.
The absence easy-to-use appliance for killing arctic pieces of software if using an X ambiance is xkill, the next window you bang will be killed.
xkill
The absence Keys for abandonment problem applications in KDE are:
The gnome-system-monitor gui program is one way to appearance alive processes, end processes, and annihilate them too.
The easiest way of endlessly a program active on the terminal you are using is acute Ctrl+C, which asks a program to stop (sends SIGINT (POSIX)) - but the program can avoid this. Ctrl+C aswell works on programs like XTerm or Konsole. See aswell below.
In addition, there are several commands to annihilate processes from any terminal window, not just the one a program is active from. You can use a program like XTerm or Konsole to accommodate a affected terminal, or you can about-face to a terminal by acute ctrl+alt+function key; ie Ctrl+Alt+F2 to Ctrl+Alt+F6 (depending on your system). Ctrl+Alt+F7 gets you aback to the desktop (again, depending on your system).
The page has added advice on action administration commands, but a few accepted ones are below:
pkill -SIGTERM program_name
:or
killall program_name
:In addition, pgrep can be acclimated to account active proceeses.
abeyance -r now
:to do this. You may charge to be root
If all abroad fails, you may still be able to acquaint with the kernel.
To use, just columnist the Alt and sysrq (PrintScreen) keys and one of the keys listed below, all together. You should try about-face into a terminal window, if possible, first by acute Ctrl+Alt+F2.
If your computer is not responding you can use the afterward accomplish to accomplish a reboot with beneath adventitious of fscking your files. This is the adjustment appropriate on Wikipedias Adopting Angular Elephants Is Absolutely Arid page.
#Press Ctrl+Alt+F2 to about-face to a terminal window. Sometimes, this is not possible.
#Press Alt+SysRq+R to get the keyboard
#If acute Ctrl+Alt+F2 afore failed, try it afresh now.
#Press Alt+SysRq+S to accompany your disks.
#Wait for OK or Done message.
#Press Alt+SysRq+E to appellation all processes.
#Press Alt+SysRq+I to annihilate all processes.
#Press Alt+SysRq+U to umount all deejay drives.
#Wait for OK or Done message.
#Press Alt+SysRq+B to reboot.
The Abounding account of avaliable commands is apparent below. Its abundantly taken from [http://developer.osdl.org/dev/robustmutexes/REPOS/fusyn.hg/?cmd=file;filenode=32d0a5eb8f92fa9221a6311440ffafbc042e510b;file=Documentation/sysrq.txt Documentation/sysrq.txt] in the Linux Atom Sources.
The final advantage is, of course, the ability or displace buttons on your computers concrete exterior. Sometimes these may be bendable switches and will crave the abetment of a harder about-face (or demography out the array on a laptop.) (Unplugging your computer while it is active is not recommended.)
Resetting after shutting down can couldcause problems with the book system. To try and fix this problem, fsck will be run if you next cossack up, and journelling filesystems will attack to complete or acknowledgment files which were changing.
This page aswell describes what to do if the computer is absolutely frozen.
These suggestions accept added adverse after-effects the added down the account you go. For archetype killing a window in KDE will lose the unsaved data in that program, wheras acute the displace button could base all data on harder drive (in acute cases).
DISCLAIMER: Afterward instructions actuality may advance to accident of data from your computer.
The absence easy-to-use appliance for killing arctic pieces of software if using an X ambiance is xkill, the next window you bang will be killed.
xkill
The absence Keys for abandonment problem applications in KDE are:
The gnome-system-monitor gui program is one way to appearance alive processes, end processes, and annihilate them too.
The easiest way of endlessly a program active on the terminal you are using is acute Ctrl+C, which asks a program to stop (sends SIGINT (POSIX)) - but the program can avoid this. Ctrl+C aswell works on programs like XTerm or Konsole. See aswell below.
In addition, there are several commands to annihilate processes from any terminal window, not just the one a program is active from. You can use a program like XTerm or Konsole to accommodate a affected terminal, or you can about-face to a terminal by acute ctrl+alt+function key; ie Ctrl+Alt+F2 to Ctrl+Alt+F6 (depending on your system). Ctrl+Alt+F7 gets you aback to the desktop (again, depending on your system).
The page has added advice on action administration commands, but a few accepted ones are below:
pkill -SIGTERM program_name
:or
killall program_name
:In addition, pgrep can be acclimated to account active proceeses.
abeyance -r now
:to do this. You may charge to be root
If all abroad fails, you may still be able to acquaint with the kernel.
To use, just columnist the Alt and sysrq (PrintScreen) keys and one of the keys listed below, all together. You should try about-face into a terminal window, if possible, first by acute Ctrl+Alt+F2.
If your computer is not responding you can use the afterward accomplish to accomplish a reboot with beneath adventitious of fscking your files. This is the adjustment appropriate on Wikipedias Adopting Angular Elephants Is Absolutely Arid page.
#Press Ctrl+Alt+F2 to about-face to a terminal window. Sometimes, this is not possible.
#Press Alt+SysRq+R to get the keyboard
#If acute Ctrl+Alt+F2 afore failed, try it afresh now.
#Press Alt+SysRq+S to accompany your disks.
#Wait for OK or Done message.
#Press Alt+SysRq+E to appellation all processes.
#Press Alt+SysRq+I to annihilate all processes.
#Press Alt+SysRq+U to umount all deejay drives.
#Wait for OK or Done message.
#Press Alt+SysRq+B to reboot.
The Abounding account of avaliable commands is apparent below. Its abundantly taken from [http://developer.osdl.org/dev/robustmutexes/REPOS/fusyn.hg/?cmd=file;filenode=32d0a5eb8f92fa9221a6311440ffafbc042e510b;file=Documentation/sysrq.txt Documentation/sysrq.txt] in the Linux Atom Sources.
The final advantage is, of course, the ability or displace buttons on your computers concrete exterior. Sometimes these may be bendable switches and will crave the abetment of a harder about-face (or demography out the array on a laptop.) (Unplugging your computer while it is active is not recommended.)
Resetting after shutting down can couldcause problems with the book system. To try and fix this problem, fsck will be run if you next cossack up, and journelling filesystems will attack to complete or acknowledgment files which were changing.
|
sysrq, program, press, terminal, processes, pressing, window, switch, process, computer, running, system, killing, linux, commands, , ctrl alt, alt sysrq, press alt, pressing ctrl, terminal window, linux guide freezes, |
Also see ...