- 论坛徽章:
- 0
|
Byrouter:/usr/local/sbin# date
Sun May 18 14:24:03 CST 2008
Byrouter:/usr/local/sbin# cat check_hit_squid
#!/bin/bash
squidclient -p 3128 -h 192.168.10.1 mgr:info
Byrouter:/usr/local/sbin# sh -x check_hit_squid
+ squidclient -p 3128 -h 192.168.10.1 mgr:info
HTTP/1.0 200 OK
Server: squid/2.6.STABLE5
Date: Sun, 18 May 2008 06:24:10 GMT
Content-Type: text/plain
Expires: Sun, 18 May 2008 06:24:10 GMT
Last-Modified: Sun, 18 May 2008 06:24:10 GMT
X-Cache: MISS from Byrouter
X-Cache-Lookup: MISS from Byrouter:3128
Via: 1.0 Byrouter:3128 (squid/2.6.STABLE5)
Proxy-Connection: close
Squid Object Cache: Version 2.6.STABLE5
Start Time: Sun, 18 May 2008 04:46:25 GMT
Current Time: Sun, 18 May 2008 06:24:10 GMT
squid中输出显示的与实际相差了8个小时
[ 本帖最后由 kevin.tan 于 2008-5-18 14:28 编辑 ] |
|