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.

Regards,
Jim...

Reply via email to