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 don’t know how to use it. Could someone help me with an example?
My question is where to I specify my application name and delay interval to restart?