Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: grep lines from log for last 10 mints

by i5513 (Pilgrim)
on Aug 06, 2012 at 10:18 UTC ( #985646=note: print w/replies, xml ) Need Help??


in reply to grep lines from log for last 10 mints

Use perl and some CPAN module, like Time::ParseDate

Or use logtail2 every 10 minutes
  • Comment on Re: grep lines from log for last 10 mints

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985646]
help
Chatterbox?
[marioroy]: LA if the find worked from Unix command line, or does it not. Likely a quoting issue inside Perl qx.
[Lady_Aleena]: marioroy, the find worked fine at the command line.
[marioroy]: LA, yeah. than there's no reason why it cannot work inside qx. But chatting is hard in PM. I cannot see the code now.
[shmem]: Lady_Aleena: sometimes a quick glance isn't enough.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-04-23 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.