title: How to use Linux software watchdog?
body: <p>Can anybody tell me how to handle the software watchdog in Linux?</p>
  <p>I have a program <code>SampleApplication</code> which runs continuously and I need to restart it if its hangs or closes unexpectedly.</p>
  <p>I was Googling about this and found Linux has watchdog at <code>/dev/watchdog</code> but don’t know how to use it. Could someone help me with an example?</p>
  <p>My question is where to I specify my application name and delay interval to restart?</p>