Re: [squid-users] squidclient help

From: Vivek <viveksnv_at_aol.in>
Date: Fri, 19 Feb 2010 08:55:39 -0500

Hi Amos,

Thanks for your reply.
i tired with "purge" tool. But works for localhost well. How do we use
"purge" toll for remote squid ? Any possibilities ?...
Thanks in advance.

Thanks,
Vivek

-----Original Message-----
From: Amos Jeffries <squid3_at_treenet.co.nz>
To: squid-users_at_squid-cache.org
Sent: Fri, 19 Feb 2010 4:38 pm
Subject: Re: [squid-users] squidclient help

Vivek wrote:
> Hi All,
> > I am trying to get the URLs of cached objects in disk in via
squidclient.
> > #squidclient mgr:vm_objects
> > Retrieves the list of objects in the memory cache. It contains the
URL > link ( GET http://127.0.0.1:3181/id=000002591000260870/image.png
)
> ---
> KEY 3BAE20D702DCFA4225D988B1F151EA92
> GET http://127.0.0.1:3181/id=000002591000260870/image.png
> STORE_OK IN_MEMORY SWAPOUT_NONE PING_DONE
> CACHABLE,DISPATCHED,VALIDATED
> LV:1266548360 LU:1266548360 LM:-1 EX:1266893960
> 0 locks, 0 clients, 1 refs
> Swap Dir -1, File 0XFFFFFFFF
> inmem_lo: 0
> inmem_hi: 16553
> swapout: 0 bytes queued
> ---
> > #squidclient mgr:objects
> > Retrieves the list of all cached objects (including those on disk).
But > it doesn't contain the URL link.

Sure it does...
> ---
> KEY 14A08323AC805484B4161AFCC0228C02

 ^^^ hash of the URL and unique request meta data. :)

Not very helpfull though I know.

> STORE_OK NOT_IN_MEMORY SWAPOUT_DONE PING_DONE
> CACHABLE,DISPATCHED,VALIDATED
> LV:1266548026 LU:1266548232 LM:-1 EX:1266893626
> 0 locks, 0 clients, 2 refs
> Swap Dir 0, File 0X004471
> ---
> > How do we get the URLs of disk cache objects using squidclient or
any > other method...
>
Lookup the "purge" tool. It does a lot of cache storage management
stuff like you seem to want.

Amos
-- Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24
  Current Beta Squid 3.1.0.16

  
Received on Fri Feb 19 2010 - 13:56:30 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 20 2010 - 12:00:05 MST