Linux ×Ô´øÁËÒ»¸ö watchdog µÄʵÏÖ£¬ÓÃÓÚ¼àÊÓϵͳµÄÔËÐУ¬°üÀ¨Ò»¸öÄÚºË watchdog module ºÍÒ»¸öÓû§¿Õ¼äµÄ watchdog ³ÌÐò
ÄÚºË watchdog Ä£¿éͨ¹ý /dev/watchdog Õâ¸ö×Ö·ûÉ豸ÓëÓû§¿Õ¼äͨÐÅ¡£Óû§¿Õ¼ä³ÌÐòÒ»µ©´ò¿ª /dev/watchdog É豸£¬¾Í»áµ¼ÖÂÔÚÄÚºËÖÐÆô¶¯Ò»¸ö 1·ÖÖӵĶ¨Ê±Æ÷£¬´Ëºó£¬Óû§¿Õ¼ä³ÌÐòÐèÒª±£Ö¤ÔÚ 1·ÖÖÓÖ®ÄÚÏòÕâ¸öÉ豸дÈëÊý¾Ý£¬Ã¿´Îд²Ù×÷»áµ¼ÖÂÖØÐÂÉ趨¶¨Ê±Æ÷¡£Èç¹ûÓû§¿Õ¼ä³ÌÐòÔÚ 1·ÖÖÓÖ®ÄÚûÓÐд²Ù×÷£¬¶¨Ê±Æ÷µ½ÆÚ»áµ¼ÖÂÒ»´Îϵͳ reboot ²Ù×÷¡£
Óû§¿Õ¼ä³ÌÐò¿Éͨ¹ý¹Ø±Õ /dev/watchdog À´Í£Ö¹ÄÚºËÖеĶ¨Ê±Æ÷¡£
Óû§¿Õ¼äµÄ watchdog ÊØ»¤½ø³Ì£º
ÔÚÓû§¿Õ¼ä£¬»¹ÓÐÒ»¸ö½Ð×ö watchdog µÄÊØ»¤½ø³Ì£¬Ëü¿ÉÒÔ¶¨ÆÚ¶Ôϵͳ½øÐмì²â£¬°üÀ¨£º
Is the process table full?
Is there enough free memory?
Are some files accessible?
Have some files changed within a given interval?
Is the average work load too high?
Has a file table overflow occurred?
Is a process still running? The process is specified by a pid file.
Do some IP addresses answer to ping?
Do network interfaces receive traffic?
Is the temperature too high? (Temperature data not always available.)
Execute a user defined command to do arbitrary tests.
Èç¹ûijÏî¼ì²âʧ°Ü£¬Ôò¿ÉÄܵ¼ÖÂÒ»´Î¡¡soft reboot £¨Ä£ÄâÒ»´Î¡¡shutdown¡¡ÃüÁîµÄÖ´ÐУ©
Ëü»¹¿ÉÒÔͨ¹ý /dev/watchdog À´´¥·¢ÄÚºË watchdog µÄÔËÐС£
Ö÷Ò³£ºhttp://sourceforge.net/projects/watchdog/
ÏÂÔØ£ºhttp://sourceforge.net/projects/watchdog/files/
À´×Ô:¿ªÔ´ÖйúÉçÇø

