文件修改监控脚本-iwatch


iWatch是一款使用Perl开发的,使用xml做为其运行时的配置文件的文件监控脚本;它可同时监控多个目录,对产生的结果按多种方法进行处理。

iWatch monitor the filesystem's integrity in realtime and will send alarm immediately to the system administrator when there is any changes in the monitored filesystem.
iWatch is written in Perl and based on inotify, a file change notification system, a kernel feature that allows applications to request the monitoring of a set of files against a list of events. Inotify was introduced the first time in the Linux kernel version 2.6.13.
Features
run in command line mode as well as in daemon mode
using an easy xml configuration file
can watch directory recursively and watch new created directory
can have a list of exceptions
can use regex to compare the file/directory name
can execute command if an event occures
send email
syslog
print time stamp
iWatch can be executed in two modes, the first mode is daemon mode where you can use an xml configuration file, and put a list of directories and files (targets) to monitor. And the second mode is command line mode where you can run it without a configuration file, you just need to put the necessary information (target to watch, email, exception, recursivity, events to monitor and command to execute) in the command line. The options for both modes can't be mixed together.
最新版本:0.2
项目主页:http://iwatch.sourceforge.net/index.html

iWatch monitor the filesystem's integrity in realtime and will send alarm immediately to the system administrator when there is any changes in the monitored filesystem.
iWatch is written in Perl and based on inotify, a file change notification system, a kernel feature that allows applications to request the monitoring of a set of files against a list of events. Inotify was introduced the first time in the Linux kernel version 2.6.13.
Features
run in command line mode as well as in daemon mode
using an easy xml configuration file
can watch directory recursively and watch new created directory
can have a list of exceptions
can use regex to compare the file/directory name
can execute command if an event occures
send email
syslog
print time stamp
iWatch can be executed in two modes, the first mode is daemon mode where you can use an xml configuration file, and put a list of directories and files (targets) to monitor. And the second mode is command line mode where you can run it without a configuration file, you just need to put the necessary information (target to watch, email, exception, recursivity, events to monitor and command to execute) in the command line. The options for both modes can't be mixed together.
最新版本:0.2
项目主页:http://iwatch.sourceforge.net/index.html