/[cricket]/parse_maillog.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /parse_maillog.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dpavlin, Fri Jul 19 13:28:07 2002 UTC revision 1.7 by dpavlin, Fri Jul 26 10:10:02 2002 UTC
# Line 4  Line 4 
4  # change since last run.  # change since last run.
5  #  #
6  # Dobrica Pavlinusic <dpavlin@rot13.org>  # Dobrica Pavlinusic <dpavlin@rot13.org>
7    # http://www.rot13.org/~dpavlin/sysadm.html
8  #  #
9  # Usage: parse_maillog.pl /path/to/mail.log [count_regex,count_regex,...]  # Usage: parse_maillog.pl /path/to/mail.log [count_regex,count_regex,...]
10  #  #
# Line 27  my $log="/var/log/mail.log"; Line 28  my $log="/var/log/mail.log";
28  my $domain='@pliva.hr';  my $domain='@pliva.hr';
29  my $delta="/var/tmp/";  my $delta="/var/tmp/";
30    
31  my $debug=1;  my $debug=0;
32  my $skip_delta=0;  my $skip_delta=0;
33    
34  $log = shift @ARGV if ($ARGV[0] && -r $ARGV[0]);  $log = shift @ARGV if ($ARGV[0] && -r $ARGV[0]);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26