Re: How to Get Squid Cached Object Size?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 29 Aug 2003 17:26:35 +0200

fre 2003-08-29 klockan 14.26 skrev atit jariwala:

> I want to get Size of each object currently stored on disk. Which Data
> Strctures to refer for it?( I don;t want to use option of parsing of any log
> file.)

StoreEntry->swap_file_sz

> What is used as Key for locating cached Object?What are the constitutes of
> this Key?

MD5 of URL gives StoreEntry. See storeGet* functions.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Aug 29 2003 - 09:26:44 MDT

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