OS4 DepotLogo by Nickman 
(anonymous IP: 18.218.129.100,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

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: 140  (Current version)
140  (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