SWWDOG(4)
π swwdog(4) β software watchdog timer π
okay bestie, welcome to the swwdog(4) page from the Kernel Interfaces Manual. this is the software watchdog timer, and it's lowkey the kernel's "are you still there??" bestie. no cap. β¨
πΈ NAME πΈ
swwdog β software watchdog timer. that's the whole name, periodt. π
β¨ SYNOPSIS β¨
pseudo-device swwdog
π DESCRIPTION π
okay so the swwdog driver provides a software watchdog timer that works with wdogctl(8). if the timer expires, the system reboots if the boolean variable swwdog_reboot is true; otherwise, the system will panic. swwdog_reboot is accessible as the sysctl(8) variable hw.swwdog.reboot and defaults to false. π
The default period of swwdog is 60 seconds. yes, a whole minute β the watchdog is patient, but not that patient. π
As with other watchdog timers, the swwdog driver prevents a system from suspending when the watchdog is armed. so if the watchdog is armed, the system is not going to sleep on you. periodt. π«Ά
π₯ SEE ALSO π₯
sysctl(8)wdogctl(8)
π HISTORY π
The swwdog driver was written by Steven M. Bellovin. iconic author behavior, honestly. π«Ά
π BUGS π
- Only one watchdog timer can be active at any given time. (Arguably, this is a bug in the watchdog timer framework.) Therefore, only a single instance of the
swwdogdevice can be created. so yeah, one at a time, bestie. - Kernel tickle mode is useless with
swwdogand arguably should be rejected, since both it and this driver rely on the same callout mechanism; if one is blocked, almost certainly the other is as well. - The
alarmoption towdogctl(8)isn't implemented.
mwah π β this page is from Debian, dated June 8, 2011. hope that helped bestie π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2004, 2005 Steven M. Bellovin
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms