标签:pre start mod device config 配置 class bom sys
安装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
用forkbomb测试
: () { : | : & } ; :
标签:pre start mod device config 配置 class bom sys
原文地址:https://www.cnblogs.com/leviatan/p/9033592.html