Recently because of testing needs, need to observe the machine crashes state reaction other peripherals, learning to command a super easy to make Linux an instant crash:
echo c > /proc/sysrq-trigger
After running the effect is as follows:
You can see, once running, the system crashes immediately.
It turned out that a powerful mechanism for linux / proc / sysrq-trigger of:
# Restart my computer now
echo b> / proc / sysrq- trigger
The computer is turned off immediately #
echo o> / proc / sysrq- trigger
# Memory allocation information deriving (can / var / log / message view)
echo m> / proc / SysRq-Trigger
# Export the current CPU register information and flag bits of information
echo p> / proc / sysrq- trigger
# Export thread status information
echo t> / proc / sysrq- trigger
# Deliberately crash
echo c> / proc / sysrq- trigger
# Now remount all file systems
echo s> / proc / sysrq- trigger
# Now remount all file systems as read-only
echo u> / proc / sysrq- trigger