Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: reading files

by space_monk (Chaplain)
on Oct 31, 2012 at 10:51 UTC ( [id://1001647]=note: print w/replies, xml ) Need Help??


in reply to reading files

From what I'm reading, I really think you should be approaching the problem differently. This might be heresy on here, but rather than writing some fancy PERL, maybe you should be letting your system do the work for you?

What you're describing really sounds as though its something that should be written to the system log and tracked there. Then there are nice friendly tools to rotate your logs and ensure they don't get out of hand :-)

Replies are listed 'Best First'.
Re^2: reading files
by Anonymous Monk on Oct 31, 2012 at 11:00 UTC
    or you can like, TAIL the log instead of CATing it :) tail -n 100

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1001647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-18 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found