What do you do if Linux crashes?

Source: Internet
Author: User
I don't know what's wrong, so you will crash your Linux. It is completely dead. you press Ctrl + Alt + Backspace, but it is useless. What should we do? Some people will press the power key to restart or shut down. you should not do this, which will cause many problems. What you can do is gentle restart.

I don't know what's wrong, so you will crash your Linux. It is completely dead. you press Ctrl + Alt + Backspace, but it is useless.

What should we do? Some people will press the power key to restart or shut down. you should not do this, which will cause many problems.

What you can do is gentle restart. It is safer for dead computers. To do this, you need to press:

Ctrl + Alt + PrtSc (SysRq) + reisub

To be clear, press Ctrl, Alt, and PtrSc (SysRq) and hold them while you need to press r, e, I, s, u, B

In this way, Linux can be restarted safely.

It may not be that easy to press all these buttons together. I once saw someone using their noses :)

I have a suggestion: Press Ctrl with the left-hand finger, Alt with the left-hand thumb, and PtrSc (SysRp) with the right-hand finger. in this way, you can press reisub with other fingers.

Okay, but what does REISUB mean?

R: switch the keyboard from the original mode to the XLATE mode.

E: Send the software termination signal (SIGTERM) to all processes except init.

I: Send the unconditional termination signal (SIGKILL) to all processes except init.

S: Mount all file systems

U: Reinstalls All mounted file systems in read-only mode.

B: Do not unmount the partition or synchronize and immediately restart the system.

You may find that it has done this. You may see that o is used to shut down the system. Therefore, if you want to shut down your computer when Linux crashes, you should use:

Ctrl + Alt + PrtSc (SysRq) + reisuo

Original article jovicailic.org

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.