Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Suppose I were to build proxy server using squid with multiple accounts. Is there a way to determine how much data has been consumed by each account?

By data I mean total sum of all bytes which are sent as a result of a request. So if a webpage is requested, the count should include all bytes (images, html, js, flash, movies, etc).

I could not find it in the squid doc. Is there a programming hook I can use? Or another program?

share|improve this question
1  
You can use SARG. –  Eric Carvalho Dec 23 '12 at 18:18
    
thanks. I can accept your answer if you post it as an answer. –  Nasir Dec 24 '12 at 1:37
add comment

1 Answer

up vote 1 down vote accepted

You can use SARG:

Sarg - Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet. Sarg provides many informations about Squid users activities: times, bytes, sites, etc...

Sample reports.

Manpage.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.