Watchdog is a name commonly used for a process that restarts another process or other processes in the event they go down.
This is the comment at the top of the watchdog.sh script:
Watchdog - script for keeping the given component running
In the examples below, you can see what is being watched by reviewing the "watch" parameter:
dynatra+ 3426 1 0 Mar09 ? 00:00:00 /bin/sh /opt/dynatrace-managed/services/watchdog.sh watch /opt/dynatrace-managed/services/cassandra.sh
dynatra+ 3570 1 0 Mar09 ? 00:00:00 /bin/sh /opt/dynatrace-managed/nodekeeper/services/watchdog.sh watch /opt/dynatrace-managed/nodekeeper/services/nodekeeper.sh
dynatra+ 4057 1 0 Mar09 ? 00:00:00 /bin/sh /opt/dynatrace-managed/services/watchdog.sh watch /opt/dynatrace-managed/services/elasticseach.sh