Loading... ## 0x00 安装watchdog ``` apt install watchdog ``` 编辑/etc/modules,添加bcm2708_wdog 编辑/etc/watchdog.conf ``` watchdog-device = /dev/watchdog # 最大进程数 max-load-1 = 24 # 高温复位(80度) temperature-device = /sys/class/thermal/thermal_zone0/temp max-temperature = 80000 ``` 设置看门狗开机自启 ``` chkconfig watchdog on ``` 手动启动看门狗 ``` service watchdog start ``` ## 0x01 用forkbomb测试 ``` : () { : | : & } ; : ``` 最后修改:2022 年 01 月 03 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏