Re: How to get cache_mem and cache_mem remain ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 4 May 2003 12:15:42 +0200

On Sunday 04 May 2003 07.52, Rodsak Promrattanakul wrote:
> Dear Squid Developer,
>
> I want to get cache_mem value that I config in squid.conf and
> cache_mem that squid really using.
> What function or variable that involed this problem?

You can read both the cache_mem setting and current usage via cachemgr
or SNMP. The cache_mem setting is also logged to cache.log on
startup.

To read it from within the source see Config.memMaxSize (configured)
and mem_node::store_mem_size (current usage).

Regards
Henrik
Received on Sun May 04 2003 - 04:14:30 MDT

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