Hi can anybody tell me how to handle the software watchdog in linux .I have a program "SampleApplication" which runs continuously and I need to restart it if its hangs or closes unexpectedly.
I was googling about this and found linux has watchdog at /dev/watchdog but dont know how to use it.Could someone help me with example.
My question is where to I specify my application name and delay interval to restart . As I am new to linux please brief me with sample if possible. Thanks