Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Extract new lines from log file

by pileofrogs (Priest)
on Jan 02, 2007 at 23:17 UTC ( [id://592664]=note: print w/replies, xml ) Need Help??

in reply to Extract new lines from log file

First, using the file size, as recommended above probably just solves your problem, so I'm just muttering academically here...

It sounds like you've got the remote files mounted on a network drive of some kind, right? Depending on the file system and weather or not it caches, your script might actually be downloading the entire file every time it reads it.

It might be easier to copy the file to a local partition and then process it.


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-25 07:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found