Linux Tipps und Tricks: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „==Hard reboot== This is the hard way to kick your kernel into void. No filesystem sync is done, just an ugly fast direkt reboot! <source lang=bash> # echo 1 > …“)
 
No edit summary
Line 1: Line 1:
[[Kategorie:Linux]]
==Hard reboot==
==Hard reboot==
This is the hard way to kick your kernel into void. No filesystem sync is done, just an ugly fast direkt reboot!
This is the hard way to kick your kernel into void. No filesystem sync is done, just an ugly fast direkt reboot!
You should never do this...
<source lang=bash>
<source lang=bash>
# echo 1 > /proc/sys/kernel/sysrq
# echo 1 > /proc/sys/kernel/sysrq

Revision as of 15:08, 22 January 2016

Kategorie:Linux

Hard reboot

This is the hard way to kick your kernel into void. No filesystem sync is done, just an ugly fast direkt reboot! You should never do this...

# echo 1 > /proc/sys/kernel/sysrq
# echo b > /proc/sysrq-trigger

First line enables sysrq, second line sends the reboot request.

For more look at kernel.org!