On Thu, Feb 28, 2002 at 03:41:53PM +1100, George Vieira wrote:

> Does anybody know how to read the dates from the access.log file from
> squid..
> I need to get calamaris to read only the lines for a particular month and
> not the whole file, doing a vi of the file shows integer dates..
> 
> 1008047100.732     25 192.168.0.1 TCP_MISS/304 82 GET
> http://www.yellowpages.com.au
> 
> Any ideas?

It's simply the time in seconds since 00:00 UTC 01-JAN-1970:

    [johnc@dropbear ~]$ perl -e 'print scalar(localtime(1008047100.732)), "\n"'
    Tue Dec 11 16:05:00 2001



Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to