Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrenth/ruby-watchcat
A Ruby extension for the development of watchcatd-aware applications.
https://github.com/andrenth/ruby-watchcat
Last synced: about 2 months ago
JSON representation
A Ruby extension for the development of watchcatd-aware applications.
- Host: GitHub
- URL: https://github.com/andrenth/ruby-watchcat
- Owner: andrenth
- Created: 2009-01-16T15:57:32.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-04-21T21:50:02.000Z (almost 15 years ago)
- Last Synced: 2023-04-12T07:00:04.434Z (almost 2 years ago)
- Language: Ruby
- Homepage: http://oss.digirati.com.br/ruby-watchcat/
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
== Introduction
Ruby/Watchcat allows the development of watchcatd-aware applications in
Ruby.Watchcatd is a watchdog-like daemon in the sense that it takes actions
in situations where a machine is under heavy load and/or unresponsive.
However, watchcatd isn't as drastic as the usual watchdog systems, which
generally reboot the machine. Instead, all it does is sending a signal to
a registered process (which by default is SIGKILL) if the process doesn't
send it a heartbeat before a user-specified timeout.Ruby/Watchcatd allows a Ruby application to register itself with watchcatd.
== Requirements
Ruby/Watchcatd was tested with Ruby versions >= 1.8.4 and requires watchcatd
version 1.1 and libwcat version 1.0 to be installed (see References below).For FreeBSD support, you need at least watchcatd 1.2 (and libwcat 1.1 if you
are using the C extension).== Installation
The easiest way to install Ruby/Watchcat is to use rubygems:
* For the C extension:
gem install ruby-watchcat* For the pure-Ruby version:
gem install ruby-watchcat-pureThe C extension requires you to have the libwcat development package
installed.== License
Copyright (c) 2006, 2007, 2008 Andre Nathan
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.== Author
Ruby/Watchcat was developed by Andre Nathan.
== References
* Ruby/Watchcat homepage:
http://oss.digirati.com.br/ruby-watchcat/
* Rubyforge project home:
http://www.rubyforge.org/projects/watchcat
* Watchcatd and libwcat:
http://oss.digirati.com.br/watchcatd/