swapout: 193735 bytes queued
KEY E720447A2A98968C2673DD228AEADFC7
STORE_OK IN_MEMORY SWAPOUT_NONE PING_NONE
SPECIAL,CACHABLE,VALIDATED
LV:1477908352 LU:1477908352 LM:1476530331 EX:-1
0 locks, 0 clients, 0 refs
Swap Dir -1, File 0XFFFFFFFF
GET
inmem_lo: 0
inmem_hi: 393
swapout: 0 bytes queued
KEY 63C142B374127C8B784BC7F5AE4DD63C
STORE_OK NOT_IN_MEMORY SWAPOUT_DONE PING_NONE
CACHABLE,DISPATCHED,VALIDATED
LV:1476589869 LU:1476636053 LM:1476589526 EX:-1
0 locks, 0 clients, 1 refs
Swap Dir 0, File 0X000024
KEY 88C1A24267886989BC047A1484B4DA
STORE_OK IN_MEMORY SWAPOUT_NONE PING_NONE
SPECIAL,CACHABLE,VALIDATED
LV:1477908352 LU:1477908352 LM:1476530331 EX:-1
0 locks, 0 clients, 0 refs
Swap Dir -1, File 0XFFFFFFFF
GET
inmem_lo: 0
inmem_hi: 388
swapout: 0 bytes queued
其他查看缓存的相关命令:
取得squid运行状态信息:squidclient -p 80 mgr:info
取得squid内存使用情况:squidclient -p 80 mgr:mem
取得squid已经缓存的列表:squidclient -p 80 mgr:objects
取得squid的磁盘使用情况:squidclient -p 80 mgr:diskd
常用的查看请求的命令:
squidclient -h localhost -p 80 mgr:5min
squidclient -h localhost -p 80 mgr:5min |egrep "client_http.requests|client_http.hits"
squidclient -h localhost -p 80 mgr:mem
squidclient -h localhost -p 80 mgr:info
[root@squid etc]# squidclient -h localhost -p 80 mgr:5min
HTTP/1.0 200 OK
Server: squid/3.0.STABLE20
Mime-Version: 1.0
Date: Mon, 31 Oct 2016 13:53:10 GMT
Content-Type: text/plain
Expires: Mon, 31 Oct 2016 13:53:10 GMT
Last-Modified: Mon, 31 Oct 2016 13:53:10 GMT
X-Cache: MISS from cache1.contoso.com
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-33117-6.html
幸福的感觉
wuIi烊烊