This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim1s:applications:watchdog [2022/07/17 21:31] 127.0.0.1 external edit |
products:sbc:vim1s:applications:watchdog [2022/08/21 23:37] (current) frank [Test Watchdog] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ====== Internal Watchdog ====== | + | ===== Introduction |
+ | This page introduces the external Watchdog. You will learn how to enable the watchdog and test it. | ||
- | {{page> | + | ===== Enable Watchdog ===== |
+ | Watchdog is disabled by default, use the commands below to enable it. | ||
- | ====== External Watchdog ====== | + | ```shell |
+ | khadas@Khadas: | ||
+ | ``` | ||
- | TODO. | + | 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 ===== | ||
+ | |||
+ | 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 ===== | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ``` |