software  
home
software
papers
fun
potw
contact
credits

HA-Tools

The HA-Tools provide some programs to improve shell scripting in a High Availability environment.
The halockrun program provides a simple and reliable way to implement a locking in shell scripts. A typical usage for halockrun is to prevent cronjobs to run simultanously. halockrun uses a lock on a file via fcntl(2) which ensures the release of the lock even if the process gets killed via SIGKILL.
The hatimerun program provides a time-out mechanism which can be used from shell scripts.

Documentation

Download

Download the most recent version of the HA-Tools:

.tar.gz .tar.Z V2.10 - 04. May 2009
Minor feature and usability enhancements.
150 kB 245 kB

Download archive

Change Log

Copyright

hatools Copyright © 2001,2003,2005-2009 by Markus Winand <mws@fatalmind.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

(c) 2009 by mws Last modified: Sat May  2 17:04:17 2009