This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim1s:applications:watchdog [2022/08/21 22:52] frank |
products:sbc:vim1s:applications:watchdog [2022/08/21 23:37] (current) frank [Test Watchdog] |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This page introduces the internal | + | This page introduces the external |
===== Enable Watchdog ===== | ===== Enable Watchdog ===== | ||
+ | |||
+ | Watchdog is disabled by default, use the commands below to enable it. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ``` | ||
+ | |||
+ | Check watchdog status: | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ● external-watchdog.service - External Watchdog | ||
+ | | ||
+ | | ||
+ | Main PID: 2766 (external-watchd) | ||
+ | Tasks: 2 (limit: 1592) | ||
+ | | ||
+ | CPU: 1.176s | ||
+ | | ||
+ | | ||
+ | | ||
+ | ``` | ||
===== Test Watchdog ===== | ===== Test Watchdog ===== | ||
+ | |||
+ | You can also kill the watchdog daemon to prevent an automatic restart. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | root 2766 0.4 0.1 | ||
+ | ``` | ||
+ | Process ID with watchdog daemon is '' | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ``` | ||
+ | |||
+ | the system will automatically reboot. | ||
===== Disable Watchdog ===== | ===== Disable Watchdog ===== | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ``` |