Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: grep lines from log for last 10 mints

by Anonymous Monk
on Aug 06, 2012 at 10:30 UTC ( #985651=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
    Please check my work on the 2 lines I've marked with "#???".
    The operation I've selected may be wrong for the operand types.
  2. or download this
    #!/usr/bin/perl --
    use strict; use warnings; use Data::Dump;
        print $_ if $start lt $tm and $tm lt $end;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985651]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2016-12-05 15:04 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (86 votes). Check out past polls.