OS4 DepotLogo by invent 
(anonymous IP: 54.221.75.115,1226) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (186)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (861)
   o Graphics (462)
   o Library (94)
   o Network (202)
   o Office (57)
   o Utility (813)
   o Video (61)

Total files: 3896

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Driver » Handler » watchdog.lha

Watchdog-Handler

Description: A Linux "/dev/watchdog" like AmigaDOS handler
Download: watchdog.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 13kb
Version: 53.0
Date: 14 Mar 2015
Author: Massimiliano Scarano
Submitter: Massimiliano Scarano
Email: mscarano/libero it
Requirements: AmigaOS 4.1 Update 1
Category: driver/handler
License: BSD
Distribute: yes
Min OS Version: 4.1
FileID: 9214
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 103  (Current version)
103  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
[ OVERVIEW ]
Watchdog-Handler is an AmigaDOS handler like /dev/watchdog in Linux.
It will reboot the system if it is not fed at certain time.
Its main use is to prevent situations where an application for
some reasons may hang and nobody can press the reset button.



[ REQUIREMENTS ]
- AmigaOS 4.1 Update 1 running on PowerPC based computers



[ INSTALLATION ]
1) > Copy Watchdog-Handler to L:
2) > Copy WATCHDOG to Devs:DOSDrivers



[ USAGE ]
dos.library functions <-> DOS Packets

1)
The watchdog is automatically started once you open it,
if no timeout is provided a default of 60 seconds is used:
Fh = Open( "WATCHDOG:TimeoutInSeconds", MODE_OLDFILE )

ACTION_FINDINPUT
ACTION_FINDUPDATE
ACTION_FINDOUTPUT

2)
To feed the watchdog write any character into it:
ReturnedLength = Write( Fh, "w", 1 )
ReturnedLength = Write( Fh, "VVV", 3 )

ACTION_WRITE

3)
To stop the watchdog close it:
Close( Fh )

ACTION_END



[ VERSION HISTORY ]
- Version 53.0 released 13-Mar-2015, first public release



[ PAYPAL DONATE ]
Support my projects for AmigaOS 4.x with a PayPal donation thanks.
PayPal donate to mscarano()libero.it



Copyright (c) 2004-2018 by Björn Hagström All Rights Reserved