cyflex_wd
Purpose:
-
Monitor specified events for watchdog conditions and initiate shutdown procedures if predefined criteria, such as event counts or frequencies, are met.
Enter:
-
cyflex_wd <watchdog_timeout>
Where:
-
watchdog_timeout
Optional. Specify the number of seconds after an error is detected before the watchdog toggle is stopped. The 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 typically started in the startup script for the system and supports adding or removing events via API messages. To add events to be monitored, use ‘add_wd_ev’.