|File Search||Catalog||Content Search|
A typical action is echoing the matched line in a variety of colours and formats including reverse video, bold, underline, and normal, which swatch knows how to do internally. Other actions include sending mail or executing an arbitrary program on the line.
Swatch is written in Perl and uses Perl regular expressions for line matching.
Thank you for your interest in swatch: the Simple WATCHdog. Swatch is a SourceForge project whose project page is at http://sourceforge.net/projects/swatch and homepage is at http://swatch.sourceforge.net Swatch was originally written to actively monitor messages as they are written to a log file via the UNIX syslog utility. For a simple demonstration type "perl swatch --examine=FILENAME" with more»
SWATCH(1p) User Contributed Perl Documentation SWATCH(1p) NAME swatch - simple watcher SYNOPSIS swatch [ --awk-field-syntax ] [ --config-file|-c file ] [ --daemon ] [ --extra-include-dir|-I path ] [ --extra-module|-M module_name ] [ --help|-h ] [ --input-record-separator regex ] [ --old-style-config|-O ] [ --pid-file file ] [ --restart-time| more»
Swatch::Actions(3User Contributed Perl DocumentaSwatch::Actions(3pm) NAME Swatch::Actions - actions for swatch(1) SYNOPSIS use Swatch::Actions ring_bell(RINGS => $number_of_times_to_ring, DELAY => $delay_in_seconds, WHEN => $time_window); echo(MESSAGE => 'some text', MODES => @modes); exec(COMMAND => $command_s more»
Swatch::ThresholdUser)Contributed Perl DocumenSwatch::Threshold(3pm) NAME Swatch::Thresh more»
Swatch::Throttle(User Contributed Perl DocumentSwatch::Throttle(3pm) NAME Swatch::Thrott more»
swatch (3.2.3-1) unstable; urgency=low * New maintainer (Closes: #499509) * Fixed watch file (C more»
20080507: Changed default tail command arguments Fixed input-record-separator command line arg more»
This package was debianized by Nikolay Kokalichev <email@example.com> on Fri, 22 Sep 2006 21:25: more»