I am using centOS, sometimes the system just does not respond at all. In windows box, I can ctrl-alt-delete.
On a Linux machine, how should I handle this?
|
|
IMHO, There is no such ctrl+alt+del key-combination for Linux. But to check, why the machine get hangs, you can do either:
|
||||
|
|
|
If you have a keyboard attached, you could do the RESUIB method. Otherwise try to ssh into your box, and us top, ps and the usual helper and log checker programs to hunt down your problem. |
|||
|
|
|
There are the so-called "Magic SysRq keys" -- a set of keypresses that can be embedded at kernel level and will be honored as long as both the kernel process and the keyboard interrupt are still being listened to, and can be called by alt-SysRq-keypress. These can perform various emergency tasks such as an emergency S ync of all mounted filesystems, k I lling all active tasks, or even forcing a hard re B oot. However, linux in general needs to be pretty far gone for extreme measures like that to be the only remaining solution. Use only with extreme caution and when all else has failed. As others have mentioned, though, "doesn't respond" is a bit vague. Can you clarify what is or isn't happening? |
|||
|
|
|
If the problem is related to the x session (which, many are) you should be able to ctrl-alt-f1, ctrl-alt-f2, ... to get to a virtual session. from there you can top, as suggested above, or, all else fails you can sudo reboot to (as cleanly as possible) get running again. |
|||
|
|
|
On linux systems processes can be observed by using commands such as Some system monitors like my favorite There are some gui variants of these process monitors, but I have no experience with them. In Gnome you might look at |
|||
|
|