Holding blocks: 37528 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 138 KB
Total in use: 41201 KB 100%
Total free: 138 KB 0%
Total size: 41340 KB
Memory accounted for:
Total accounted: 0 KB 0%
memPool accounted: 0 KB 0%
memPool unaccounted: 41340 KB 100%
memPoolAlloc calls: 0
memPoolFree calls: 0
File descriptor usage for squid:
Maximum number of file descriptors: 64000
Largest file desc currently in use: 18
Number of file desc currently in use: 13
Files queued for open: 0
Available number of file descriptors: 63987
Reserved number of file descriptors: 100
Store Disk files open: 0
Internal Data Structures:
697 StoreEntries
27 StoreEntries with MemObjects
26 Hot Object Cache Items
671 on-disk objects
查看squid命中率:cat /usr/local/squid/var/logs/access.log |awk '{print $4}' |sort |uniq -c|sort -nr
[root@squid etc]# cat /usr/local/squid/var/logs/access.log.1 |awk '{print $4}' |sort |uniq -c|sort -nr
26854 TCP_MISS/200
831 TCP_MISS/503
455 TCP_MISS/304
390 TCP_MISS/404
153 TCP_MISS/504
77 TCP_CLIENT_REFRESH_MISS/200
50 TCP_DENIED/403
35 TCP_REFRESH_UNMODIFIED/304
21 TCP_MISS/302
20 TCP_MISS/000
16 TCP_MISS/502
12 TCP_MISS/206
9 TCP_MISS/403
6 TCP_REFRESH_MODIFIED/200
1 TCP_CLIENT_REFRESH_MISS/000
四、清理squid缓存
acl PURGE method PURGE #定义一个PURGE方法
http_access allow PURGE localhost #允许localhost使用PURGE方法
http_access deny PURGE #禁止其他任何服务器使用PURGE方法
2)重启squid
killall squid
squid -k parse
squid -D
3)使用squidclient命令清除squid缓存
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-33117-11.html
這個是水軍吧
大陆媒体现在最起码没有抹黑台湾
她168啊
最终还是人在操作