ACC Utilities Reference Guide

WATCH - Mux Shutdown Feature
Running watch
Chapter 10202
Running watch
The watch program can be run manually as follows:
# watch [<timeout>]
If no timeout parameter is given, the default time between the mux card
and the watch daemon is 10 seconds. This can be changed to be between
1 and 127 seconds. The watch program must be started up after zmon is
started. In the case that zmon is terminated, watch will also terminate.
It must then be restarted after zmon is restarted.
Although it can be started manually, it is highly recommended that it be
started via the zmasterd program by adding the following line to the
/opt/acc/cfg/zmasterd_list file:
start watch [<timeout>]
Watch will monitor all ACC muxes that have “monitor” terminal entries
configured in the .answ configuration file which corresponds to the
.tmem file that was used to start up zmon.
NOTE Once the watch program is running, it must not be terminated or the
mux cards will be shutdown within two times the timeout value. (For
example, if the default timeout of 10 seconds is being used, and the
watch program is terminated, all mux cards will shutdown within 20
seconds). Use kill -15 (Terminate) to gracefully shut down WATCH
without affecting the interface cards.