cyflex_wd
Purpose:
-
Monitor events for watchdog conditions. If certain conditions are met, it can kill the CyFlex_watchdog.
Enter:
-
cyflex_wd <watchdog_timer>
Where:
-
watchdog_timer
Specify the number of seconds after an error is detected before the watchdog toggle is stopped (default is 60 seconds)
Example:
-
cyflex_wd 30 &
The above command spawns cyflex_wd in the background and performs the following if any of the events it is monitoring meet their watchdog criteria. The task will:– send an email to the ‘quality_email’ address
– issue the ‘abort_limit’ event to initiate an engine shutdown
– add a note to syslog
– stop the watchdog toggle output after 30 seconds. Note that the watchdog can be reset by typing the command “setev watchdog_reset”.
Notes:
-
This task is normally started in the go script that starts CyFlex. To add events to be monitored, use ‘add_wd_ev’.