1*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD 2*4882a593Smuzhiyun bool "watchdogd" 3*4882a593Smuzhiyun depends on BR2_USE_MMU # fork() 4*4882a593Smuzhiyun select BR2_PACKAGE_LIBCONFUSE 5*4882a593Smuzhiyun select BR2_PACKAGE_LIBITE 6*4882a593Smuzhiyun select BR2_PACKAGE_LIBUEV 7*4882a593Smuzhiyun help 8*4882a593Smuzhiyun Extended version of uClinux-dist watchdogd. Monitors loadavg, 9*4882a593Smuzhiyun file descriptors and memory leaks, and capable of supervising 10*4882a593Smuzhiyun your processes main loop using an instrumentation API. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun A reset reason is saved for power loss, CPU overload, or any 13*4882a593Smuzhiyun of the monitored conditions (above). The full capabilities 14*4882a593Smuzhiyun are limited by the kernel watchdog driver, but even the basic 15*4882a593Smuzhiyun "softdog" driver is supported. See /etc/watchdogd.conf for 16*4882a593Smuzhiyun details, and try watchdogctl for system status and available 17*4882a593Smuzhiyun commands. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun https://github.com/troglobit/watchdogd/ 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunif BR2_PACKAGE_WATCHDOGD 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD_TEST_SUITE 24*4882a593Smuzhiyun bool "Enable watchdogctl test cases" 25*4882a593Smuzhiyun help 26*4882a593Smuzhiyun The watchdogctl program comes with a suite of tests built-in. 27*4882a593Smuzhiyun They can be used to verify correct operation of watchdogd and 28*4882a593Smuzhiyun the kernel watchdog driver. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD_GENERIC_POLL 31*4882a593Smuzhiyun int "Generic script monitor poll interval (sec)" 32*4882a593Smuzhiyun default "300" 33*4882a593Smuzhiyun help 34*4882a593Smuzhiyun Poll interval for generic script monitor, in seconds. A value 35*4882a593Smuzhiyun of zero (0) disables the monitor. 36*4882a593Smuzhiyun 37*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD_LOADAVG_POLL 38*4882a593Smuzhiyun int "CPU load average monitor poll interval (sec)" 39*4882a593Smuzhiyun default "300" 40*4882a593Smuzhiyun help 41*4882a593Smuzhiyun Poll interval for CPU load average monitor, in seconds. A 42*4882a593Smuzhiyun value of zero (0) disables the monitor. 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD_FILENR_POLL 45*4882a593Smuzhiyun int "File descriptor leak monitor poll interval (sec)" 46*4882a593Smuzhiyun default "300" 47*4882a593Smuzhiyun help 48*4882a593Smuzhiyun Poll interval for file descriptor leak monitor, in seconds. A 49*4882a593Smuzhiyun value of zero (0) disables the monitor. 50*4882a593Smuzhiyun 51*4882a593Smuzhiyunconfig BR2_PACKAGE_WATCHDOGD_MEMINFO_POLL 52*4882a593Smuzhiyun int "Memory leak monitor poll interval (sec)" 53*4882a593Smuzhiyun default "300" 54*4882a593Smuzhiyun help 55*4882a593Smuzhiyun Poll interval for memory leak monitor, in seconds. A value of 56*4882a593Smuzhiyun zero (0) disables the monitor. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunendif 59