RES: [squid-users] Help converting timestamp to GMT!

From: Isamp <isamp@dont-contact.us>
Date: Thu, 18 Oct 2001 11:44:53 -0300

Try this ...

perl -pe 's/\d+/localtime($&)/e' access.new 1> access.new.2

-- Isamp

-----Mensagem original-----
De: John Szkudlapski [mailto:johns@bsfc.ac.uk]
Enviada em: quinta-feira, 18 de outubro de 2001 08:30
Para: squid-users@squid-cache.org
Cc: wwwcache-users@jiscmail.ac.uk
Assunto: [squid-users] Help converting timestamp to GMT!
Prioridade: Alta

Hi Guys

Squid question really....

I was asked to gather evidence on a particular student, he was seen
assessing a particular site at various times, the staff member present,
noted down the name of the site.

I then, got a copy of the access.log and:-

grep -w 'http://particular.site.com' access.bak >output.txt

this then gave me a list of pc's that had accessed it!, to just get the HTML
content, I ran grep again: --

grep -w 'text/html' output.txt > output.new

Which created the list of ip addresses that accessed that site, we know that
this particular student stays on the same pc's across the college.....

What I need to do now, it to convert the linux timestamp into GMT! is this
possible, and if so how???

Regards

-----------------------------
John Szkudlapski
Web Manager
Birkenhead Sixth Form College
T: 0151 651 3720
F: 0151 653 4419
M: 0780 154 2033
E: johns@bsfc.ac.uk

****************************************************************
Birkenhead Sixth Form College

This message is sent in confidence for the addressee only;
If it has come to you in error please notify compserv@bsfc.ac.uk

The contents of this e-mail are the personal views of the sender,
which may not necessarily reflect those of the college.

This message has been scanned for viruses.
The college cannot accept any responsibility for any viruses
which may have come from external sources.

****************************************************************
Received on Thu Oct 18 2001 - 07:39:38 MDT

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