

Minute the machine will be rebooted, too. ShouldĪny of these tests except the user defined binary last longer than one If any of these checks fail watchdog will cause a shutdown. TheseĬommands are called with the argument test or repair. Execute one or more test/repair commands found in /etc/watchdog.d.Execute a user defined command to do arbitrary tests.Is the temperature too high? (Temperature data not always available.).Is a process still running? The process is specified by a pid file.Have some files changed within a given interval?.The watchdog daemon does several tests to check the system status: The watchdog daemon can be stopped without causing a reboot if theĭevice /dev/watchdog is closed correctly, unless your kernel isĬompiled with the CONFIG_WATCHDOG_NOWAYOUT option enabled. The case of the software watchdog the ability to reboot will depend on the Each write delays the reboot time another minute.Īfter a minute of inactivity the watchdog hardware will cause the reset. It opens /dev/watchdog,Īnd keeps writing to it often enough to keep the kernel from resetting, at Either way, there needs to be aĭaemon that tells the kernel the system is working fine. Software-only watchdog inside the kernel. This canīe implemented via special watchdog hardware, or via a slightly less reliable The Linux kernel can reset the system if serious problems are detected.
