/proc/sysrq-trigger该文件能做些什么事情呢? # 立即关闭计算机(shuts off the system) # 导出内存分配的信息 (可以用/var/log/message 查看)(Outputs memory statistics to the console)
# 导出当前CPU寄存器信息和标志位的信息(Outputs all flags and registers to the console) # 导出线程状态信息 (Outputs a list of processes to the console) # 故意让系统崩溃 ( Crashes the system without first unmounting file systems or syncing disks attached to the system) # 立即重新挂载所有的文件系统 (Attempts to sync disks attached to the system) # 立即重新挂载所有的文件系统为只读 (Attempts to unmount and remount all file systems as read-only) |
/proc/sysrq-trigger文件的强大功能
最新推荐文章于 2024-10-23 22:57:17 发布
