How to deal with the problem of Linux system downtime

  

Linux system sometimes has a downtime situation, which is what we call the crash. If the forced restart may cause the system to crash, the following small series will introduce you to the Linux system. How to restart if you are down.

Linux kernel, although known as & ldquo; & rdquo ;, the undead almost no crashes or freezes, but in special cases, still have a chance to be downtime. Because Linux is widely used in production environments, every downtime can cause considerable damage. This article describes a gentle way to restart it after it crashes!

When you crash your Linux, it's a complete crash. What do you do when you press Ctrl + Alt + Backspace and it's useless? Some people will press the power button to restart or shut down. If you do this, it may cause a lot of problems.

This article teaches you a gentle way to restart it:

For a crashed computer this is safer, you need to press:

Ctrl + Alt + PrtSc ( SysRq) + reisub

To make it clear, hold down Ctrl, Alt and PtrSc(SysRq). While holding them, you need to press r, e, i, s, u, b

This will safely restart Linux

It may not be easy to press all of these buttons together. I have seen people use their noses!

I have a suggestion: hold down Ctrl with your left hand, hold Alt with your left thumb, and hold PtrSc (SysRp) with your little finger, so that you can press reisub with other fingers.

Ok, explain the meaning of REISUB respectively:

R: Switch the keyboard from the original mode to the XLATE mode

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

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

S: Mount all filesystems

U: Reinstall all mounted filesystems in read-only mode

B: Do not unmount partitions or sync immediately to reboot system

If you have time, try if you can use nine How many nine buttons do you press at the same time?

Ctrl + Alt + PrtSc (SysRq) + reisub

The above is a description of the Linux shutdown method. Using the above method, you can safely restart the crash and reduce damage to the system. But if you want to press nine keys at the same time, Xiaobian believes that you can.

Copyright © Windows knowledge All Rights Reserved