The most secure restart method for Linux downtime (you certainly do not know)

Source: Internet
Author: User
This article mainly introduces the most secure restart method for Linux server downtime. I can see that this method has shocked the small Editor. I need to press 9 keys at the same time, which is a bit dizzy. read this article ~

Although the Linux kernel is known as a "non-dead family", it will almost never crash or crash, but in special circumstances, there is still a chance that it will crash. Because Linux is widely used in production environments, every downtime will cause considerable losses. This article introduces a gentle restart method or command after it crashes!

What should I do if I press Ctrl + Alt + Backspace when you have crashed your Linux system? Some people will press the power key to restart or shut down. if you do this, it may cause many problems.

This article teaches you a gentle way to restart it:

For dead computers, this is safer. you need to press:

Ctrl + Alt + PrtSc (SysRq) + reisub

One more thing is to 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 be difficult 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.

Well, explain the meaning of REISUB:

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.

If you have time, can you try to press these nine buttons with nine fingers at the same time?

Ctrl + Alt + PrtSc (SysRq) + reisub

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.