On Friday 01 August 2003 17.56, Jim_Brouse/[EMAIL PROTECTED] 
wrote:
> That worked great: grep " http://www.website.net"; access.log | tr
> -s ' ' | cut -d' ' -f3 | sort
> -n | uniq > /filename
>
>
> What is the best way to add to this a number next to each IP of the
> amount of times a particular site was contacted

Add a -c argument on the last uniq command above..

> and the date of last contact?

This will require a little programming, beyond what the above pipeline 
is capable of.

I would recommend awk or perl for the job.

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org

If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [EMAIL PROTECTED]

Reply via email to