squid日志分析软件scalar,使用方法:
#./scalar.awk log_file
使用简单,速度比较快,报告比较详细,可配置所需项,免去手工分析的痛苦
分析功能包括:每小时流量、文件大小比例、文件扩展名比例、状态码比例、命中率比例等
下载链接:
下面为分析结果样例:
| Result Code | Requests | Traffic |
|------------------------|-----------|------------|
TCP_MEM_HIT 6.580M 14.537 GB
TCP_HIT 984.198K 18.516 GB
TCP_IMS_HIT 937.130K 1.423 GB
TCP_NEGATIVE_HIT 32.193K 21.240 MB
TOTAL HITS: 8.533M 34.497 GB
|------------------------|-----------|------------|
TCP_MISS 250.286K 9.896 GB
TCP_SWAPFAIL_MISS 1.603K 29.203 MB
==================================================
TOTAL MISSES: 251.889K 9.925 GB
TOTAL HITS VOLUME: 97.13 % 77.66 %
|------------------------|-----------|------------|
TCP_DENIED 25.456K 59.791 MB
UDP_HIT 30.831K 2.470 MB
UDP_MISS 160.760K 15.089 MB
UDP_MISS_NOFETCH 946 90.896 KB
NONE 48 138.337 KB
TCP_REFRESH_MODIFIED 769 1.725 MB
TCP_REFRESH_UNMODIFIED 7.980K 8.586 MB
==================================================
阅读(1444) | 评论(0) | 转发(0) |