> Date: Mon, 22 Dec 1997 16:43:56 +1000
> From: Dancer <dancer@brisnet.org.au>
> Well, it's cheap and it's nasty, but if you run it in your top-level cache
> directory it gives you the average object size...assuming your 'du' accepts the -k
> option, and that you've got egrep. On my lan cache, I get 13.8. I'll have to try
> it on the main cache. Beware: this sucker will take quite a while, and chew quite
> a bit of memory doing it.
Why not just fetch  cachemgr:info  :
 Cache information for squid:
        Storage Swap size:    xxxx MB
...
 Internal Data Structures:
        yyyyyy StoreEntries
And calculate :  xxxx MB / yyyyyy Entries = Size per Entry
Regards,
-- 
   Bernd                  bziller@ba-stuttgart.de
-------------------------------------------------
      http://www.ba-stuttgart.de/~bziller/
  Perry Rhodan - Blind Guardian - Morwen   Pages
Received on Sun Dec 21 1997 - 23:07:22 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:01 MST