树莓派配置watchdog
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测试
: () { : | : & } ; :