LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2015, 06:24 AM   #1
sumanthlinux
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
watchdog timer implementation on linux board


i want to implement watchdog timer functionality for my apllication which is running on arm board.my interest is when ever
my software hangs board has to reboot.
suggest me how to implement?
 
Old 05-29-2015, 06:05 AM   #2
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,436

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
your application needs to send a signal to the watchdog every ? time units,
if the signal is not coming in required time period the watchdog assumes that your app hangs or is dead and does the required actions, what ever they are, often kill app if app is running, restart app

you can also use an existing solution like https://mmonit.com/monit/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help writing watchdog timer driver sallu.salmankhalid Linux - Kernel 4 08-05-2013 06:14 AM
help writing watchdog timer driver sallu.salmankhalid Linux - Embedded & Single-board computer 2 08-05-2013 01:51 AM
ns2 watchdog implementation sankarju Programming 1 02-23-2013 05:08 AM
Implementing Hardware Watchdog Timer MainMeat Linux - Hardware 2 12-09-2009 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration