Download from
http://ccrma.stanford.edu/~kjetil/src/
INSTALLING
----------
make
cp das_watchdog /usr/local/sbin/
echo '/usr/local/sbin/das_watchdog >/dev/null &' >>/etc/rc.sysinit
reboot
USAGE
-----
Whenever a program locks up the machine, the watchdog temporarily sets all
realtime process to non-realtime for 8 seconds. You will get an xmessage
window up on the screen whenever that happens.
To test it, run the attached program "test_rt" (as root on 2.4), which
immediatley freezes your machine. However, a window should pop up after
about 5-6 seconds telling you that the watchdog set the process to
non-realtime.
CHANGES
-------
0.0.1->0.1.0
* Properly set the DISPLAY and XAUTHORITY environment variables in
various ways to make sure the message is really shown. (It really works
now!)
* Use xmessage instead of wish. (much nicer)
ACKNOWLEDGEMENT
---------------
The program is mentally based on Florian Schmidts program rt_watcdog.
Florian Schmidt also wrote the included test_rt program.