OS4 DepotLogo by DBAlex 
(anonymous IP: 3.15.239.0,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

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: 148  (Current version)
148  (Accumulated)
Votes: 1 (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 © 2004-2024 by Björn Hagström All Rights Reserved