Help for this page

Select Code to Download


  1. or download this
    #my $ref = tie *DIAG,"File::Tail",(
    #    name        => $Config->{'_'}{'DIAGFILE'},
    ...
      if ($line =~ /is higher than 5 seconds/) {
    .
    .
    
  2. or download this
    #!perl
    use strict;
    ...
      print scalar localtime."- some other log message $_\n" for 0...rand(
    +10);
      sleep($s);
    }