Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How do I jump to the point I last checked a file at?

by nate (Monk)
on Feb 03, 2000 at 03:41 UTC ( [id://2766]=note: print w/replies, xml ) Need Help??


in reply to How do I jump to the point I last checked a file at?

the problem with apache logs is that they aren't a fixed length record within the file. This makes going to a specific record much more difficult.

One thing you could do is use a daemon, rather than a cron job to read from the file as apache writes to it (ala 'tail -f'). That way, you could change your statistics periodically, rather than having to mow through the file every n minutes.

Or use analog...

  • Comment on Re: How do I jump to the point I last checked a file at?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found