swap.state entries.

From: Jim Robertson <jrobertson@dont-contact.us>
Date: Wed, 20 Jan 1999 16:24:36 +1100

Hello to all,

In Squid 1.1.20 I have a perl script that extracts URL and filesize
information from the swap log file and being a text file this is fairly
straight forward.

The trouble is though that in Squid 2.X, the swap log file (swap.state) is
now in a binary format.

Looking for an alternative method, I found the "All Cache Objects" option in
cachemgr.cgi but it doesn't seem to be listing as it's name suggests all
objects in the cache (perhaps I misunderstand its meaning).

Can anybody please help me with how from a perl script could I extract URL
and filesizes from the new binary "swap.state" file?
Or otherwise get this info from Squid somehow.

Received on Tue Jan 19 1999 - 22:09:25 MST

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