# Reboot the computer immediately (Reboots the kernel without first unmounting file systems or syncing disks attached to the system)
echo "b"> /proc/sysrq-trigger
# Shut down the computer immediately (shuts off the system)
echo "o"> /proc/sysrq-trigger
# Export memory allocation information (you can use /var/log/message to view) (Outputs memory statistics to the console)
echo "m"> /proc/sysrq-trigger
# Export current CPU register information and flag information (Outputs all flags and registers to the console)
echo "p"> /proc/sysrq-trigger
# Export thread status information (Outputs a list of processes to the console)
echo "t"> /proc/sysrq-trigger
# 故意让系统崩溃 ( Crashes the system without first unmounting file systems or syncing disks attached to the system)
echo "c" > /proc/sysrq-trigger
# Remount all file systems immediately (Attempts to sync disks attached to the system)
echo "s"> /proc/sysrq-trigger
# Immediately remount all file systems as read-only (Attempts to unmount and remount all file systems as read-only)
echo "u"> /proc/sysrq-trigger
The data is collected from the Internet: https://www.cnblogs.com/playboysnow/p/4872415.html