Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-16-2004, 03:13 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Canada
Distribution: Slackware 9
Posts: 1

Rep: Reputation: 0
How do you use the software watchdog?


I am writing a program that i hope to leave running on an unattended box for months at a time. As such I want to incorporate a watchdog that will cause the box to reboot if a user input causes my program to hang.

I know that there is a software watchdog included in Slackware 9.0.0 at /dev/watchdog. What I don't know is how to use it. Any help would be appreciated.
Old 03-30-2004, 11:57 AM   #2
Registered: May 2003
Posts: 31

Rep: Reputation: 15

you need to enable and 'tickle' the watchdog. use a custom script/daemon or one like this:


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
Hardware watchdog in BIOS and Linux watchdog driver are different? travishein Linux - Hardware 1 12-22-2008 10:41 PM
re0: Watchdog timeout. Lurker01 *BSD 26 11-05-2004 07:31 PM
A software watchdog Gandilf Linux - Software 0 07-24-2003 10:26 AM
netdev watchdog mdk 9.0 carlosrm Linux - Networking 5 12-23-2002 11:22 AM
netdev watchdog emanners Linux - Networking 2 08-17-2001 03:16 PM

All times are GMT -5. The time now is 01:00 PM.

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