测试squid 命中率
/usr/local/squid/bin/squidclient -p 3128 mgr:info
HTTP/1.0 200 OK
Server: squid/3.0.STABLE15
Mime-Version: 1.0
Date: Thu, 09 Sep 2010 07:39:01 GMT
Content-Type: text/plain
Expires: Thu, 09 Sep 2010 07:39:01 GMT
Last-Modified: Thu, 09 Sep 2010 07:39:01 GMT
显示结果如下:
Request Hit Ratios: 5min: 80.1%, 60min: 80.3%
Byte Hit Ratios: 5min: 66.6%, 60min: 70.0%
Request Memory Hit Ratios: 5min: 30.3%, 60min: 32.6%
Request Disk Hit Ratios: 5min: 8.7%, 60min: 8.8%
Request Hit Ratios:表示第二次或者以后的请求时,发现它在缓存里面且有效,不然就从原始服务器读取
Byte Hit Ratios:顾名思义,字节数
Request Memory Hit Ratios:缓存在内存里面的东西
Request Disk Hit Ratios:这硬盘读取的
阅读(763) | 评论(0) | 转发(0) |