Re: [squid-users] feature request

From: Christoph Haas <email@dont-contact.us>
Date: Tue, 8 Nov 2005 23:47:29 +0100

On Tuesday 08 November 2005 23:35, Wojciech Puchar wrote:
> is it possible (or will it be implemented) to get list of URLs of cached
> objects in active squid proxy?
>
> something that will output somehow-delimited text, with objects that are
> on disk with
>
> 1) filesize
> 2) optionally - date of first fetch
>
> option to list only objects bigger than given number of bytes will be
> useful too with that.

http://www.squid-cache.org/related-software.html => "purge"

Example output:

/var/spool/squid/00/00/00000021 0 461 \
http://www.userfriendly.org/theme/uf/topleft.gif
/var/spool/squid/00/00/00000022 0 3591 \
http://www.userfriendly.org/images/titles/title_uforg.gif
/var/spool/squid/00/00/00000023 0 3366 \
http://www.userfriendly.org/images/ufr4l_logo.gif

You will surely find a way (bash, perl, python, ...) to bring this list
into the shape you like.

 Christoph

-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All
Received on Tue Nov 08 2005 - 15:47:34 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST