Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: squid-billing

by zigdon (Deacon)
on Oct 27, 2004 at 12:43 UTC ( [id://402974]=note: print w/replies, xml ) Need Help??


in reply to squid-billing

Sounds like you want to parse the squid log, keep track of which IPs are hitting it where, and how much data they're getting. Of course, you'll have to keep track of how big the items in the cache are, since squid doesn't report file size for cache hits. But it does when it loads a file into the cache, so you should be able to store it in a hash of some sort.

Hope this sends you in the right direction!

-- zigdon

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found