Article Title: Secure restart after linux crashes. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Will Linux Crash? Yes, of course. What should I do if I quit? Directly press the power key to restart? This is too dangerous. Accidentally, The Machine crashes. But the system has no response, and the keyboard and mouse cannot be moved. What should I do if I do not press the power key to restart? There are still some solutions.
In this case, perform the following operations:
It is called reisub. This method can be used to safely restart the computer in various circumstances. You can find a key called "Sys Rq" on the keyboard. On the keyboard of the platform, the key is usually used together with the Prt SC, and may be in another location in the notebook, such as Delete. Take a Taiwan machine as an example. to use this method, press Alt-Print (Sys Rq), and then press the keys reisub in sequence. After pressing the keys, the system restarts.
The following explains this method: in fact, Sys Rq is a kind of thing called a system request. Holding down Alt-Print is equivalent to holding down the Sys Rq key, at this time, everything input will be processed directly by the Linux kernel, which can perform many low-level operations. At this time, each letter in the reisub is an independent operation, which indicates:
UnRaw grabs the keyboard control from X Server
TErminate sends SIGTERM signals to all processes so that they can solve the problem on their own.
KIll sends a SIGKILL signal to all processes and forces them to close immediately
Sync synchronizes all data to the disk
Unmount: Mount all partitions in read-only mode.
ReBoot restart
The order of the six letters is wrong. How can we remember it? Here we provide a method that is better thought by one individual: The word busier (busy comparison level, more busy.
Basically, the crash of Linux is rare, and now it can be safely solved. How good is it ~