Re: [SQU] How to probe the cache report ?

From: Dan Larsson <dl@dont-contact.us>
Date: Tue, 31 Oct 2000 09:29:20 +0100 (CET)

On Tue, 31 Oct 2000, Yavuz Maslak wrote:

| I use Squid2 proxy server on FreeBSD3.2
|
| 1 - When did I enter to internet ? (Year,month,day,hour,minute etc.)

 Try this:
 
 % cat /path/to/squid/access.log | \
     perl -nwe '/^([\d\.]+)(.*)$/o ; $time = $1 ; $therest = $2 ; $time =
       localtime($time) ; print "$time $therest\n"'

This should of course be typed as one line

|
|

Regards
+------
Dan Larsson | Tel: +46 8 550 120 21
Tyfon Svenska AB | Fax: +46 8 550 120 02
GPG and PGP keys | finger dl@hq1.tyfon.net

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 31 2000 - 01:34:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:03 MST