Home » Source Code » linux watchdog

linux watchdog

2014-10-14 01:22:56
The author
Download(s): 1
Point (s): 1 
Category Category:
Linux programmingLinux programming CC


To achieve the realization of linuxwathLinux comes with a watchdog to monitor system operation, including the watchdog watchdog a kernel module and a user-space program. Watchdog module by/dev/watchdog the character device by the kernel and user-space communication. Once a user-space program to open/dev/watchdog device (commonly known as "open dogs"), which would result in a 1 minute timer is started by the kernel (system default), after that, the user-space programs need to ensure that writes data to the device in 1 minutes (commonly known as "feed the dog on a regular basis"), each write operation can lead to re-set the timer. If a user-space program did not write in 1 minutes, timer expiration will cause a reboot of the system operation ("dog bites man" HA HA). Through this mechanism, we can guarantee the system's core processes running most of the time, even if the process crashes under specific circumstances, due to regular schedule of "feed the dog", Linux system in the role of watchdog to restart (reboot), the core process up and running again.

This program is the user space program.

Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
<>0.00 B2013-11-29 14:12
hpwdt.txt3.90 kB2013-11-29 14:12
wdt.txt1.78 kB2013-11-29 14:12
watchdog-api.txt8.24 kB2013-11-29 14:12
convert_drivers_to_kernel_api.txt7.45 kB2013-11-29 14:12
<>0.00 B2014-07-31 05:14
.gitignore30.00 B2013-11-29 14:12
Makefile234.00 B2013-11-29 14:12
watchdog-simple.c346.00 B2013-11-29 14:12
watchdog-test.c1.67 kB2013-11-29 14:12
pcwd-watchdog.txt2.21 kB2013-11-29 14:12
watchdog-parameters.txt16.28 kB2013-11-29 14:12
watchdog-kernel-api.txt11.53 kB2013-11-29 14:12
Sponsored links


(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words


  • 1
  • Page 1
  • Total 1

linux watchdog (15.86 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points


Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com


CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D