Secure restart after linux crashes

Source: Internet
Author: User
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 ~

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.