Roy M. wrote:
Hi, I am new to squid and I have some usage questions regarding Squid 1. Is it possible to gracefully restart Squid, like Apache? (currently I only know shutdown and restart)
squid -k reconfigure
2. Are there any recommended commandline clients, rather then the cachemanager web interface so I can know more about the stats?
squidclient cache_object://localhost/menu
3. Is the following the correct forumla to calculate stats? CACHE_HIT = (cat access.log | grep HIT | wc -l) / (cat access.log | grep TCP | wc -l) CACHE_MEM_HIT = (cat access.log | grep MEM_HIT | wc -l) / (cat access.log | grep TCP | wc -l)
The cachemgr output (squidclient cache_object://localhost/info) will give you that information., or you can grab it via SNMP (for trend viewing).
Thanks. Roy
Chris