reading log files in real time
From: Adrian Farrell (Adrian.Farrell_at_instinet.co.uk)
Date: 07/26/04
- Next message: Ian Marlier: "Re: A RegEx question"
- Previous message: Bob Showalter: "RE: a sed equivelent"
- Next in thread: Ramprasad A Padmanabhan: "Re: reading log files in real time"
- Reply: Ramprasad A Padmanabhan: "Re: reading log files in real time"
- Maybe reply: Wiggins D Anconia: "Re: reading log files in real time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "beginners" <beginners@perl.org> Date: Mon, 26 Jul 2004 13:49:18 +0100
Hi,
I'm looking for a way to read log files in real time, so that each time a
new entry appears in the file I can perform a search/query (whatever
really!) on it.
it's odd really, as I expected this to be a very common scenario and yet I
can find nothing on it!
I think there maybe some way to achieve this using the seek and tell
commands but I can't quite fathom it out.
any suggestions?
thanks,
Ad
----------------------------------------------------------------------------------------------------------------------------------------------------------------
<<Disclaimer>>
This message contains confidential information and is intended only for the
named individual. If you are not the named addressee, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this message in error and delete
this e-message from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, delayed in
transmission, incomplete, or may contain viruses. The sender therefore does
not accept liability for any errors or omissions in the contents of
this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This message
is provided for informational purposes and should not be construed as a
solicitation or offer to buy or sell any securities or related financial
instruments.
- Next message: Ian Marlier: "Re: A RegEx question"
- Previous message: Bob Showalter: "RE: a sed equivelent"
- Next in thread: Ramprasad A Padmanabhan: "Re: reading log files in real time"
- Reply: Ramprasad A Padmanabhan: "Re: reading log files in real time"
- Maybe reply: Wiggins D Anconia: "Re: reading log files in real time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|