Re: [squid-users] access.log simple question.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 08 Jun 2001 18:10:17 +0200

The following small awk program should do..

{ usage[$8] += $5 }
END { for (user in usage) {
                print user, usage[user]
        }}

If you want it per IP, replace $8 by $3

--
Henrik Nordstrom
Squid Hacker
Jaime Menendez Parra wrote:
> 
> Hello,
> 
> I need to extract from access.log only the users and bytes transferred per user.
> Does anybody knows if exist some scripts to do that.
> 
> Thanks in advanced.
Received on Fri Jun 08 2001 - 10:14:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:34 MST