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