Squid cachemgr.cgi
-
Salam , nak tanya bagaimana nak lihat 'HITS' dalam squid cachemgr.
Ada terbaca berkenaan cachemgr.cgi
Terima Kasih
zass
Malaysia -
jika services squid menggunakan IP 127.0.0.1 dan port 80 (transparent mode on pfsense)
for squid2.x.x use squidclient -p 80 cache_object://localhost/info
for lusca/cacheboy squidclient -p 80 cache_object://localhost/info / squidclient -p 80 cache_object://localhost/curcountersjika services squid menggunakan IP 127.0.0.1 dan port 3128, gunakan squidclient mgr:info / squidclient mgr:curcounters
squidclient mgr:info
HTTP/1.0 200 OK
Server: Lusca/LUSCA_HEAD
Date: Mon, 26 Oct 2009 14:14:20 GMT
Content-Type: text/plain
Expires: Mon, 26 Oct 2009 14:14:20 GMT
X-Cache: MISS from www.hikmah-teknologi.co.cc
X-Cache-Lookup: MISS from www.hikmah-teknologi.co.cc:3128
Via: 1.0 proxy.hikmah-teknologi.net:3128 (Lusca/LUSCA_HEAD)
Connection: closeSquid Object Cache: Version LUSCA_HEAD
Start Time: Mon, 26 Oct 2009 08:41:37 GMT
Current Time: Mon, 26 Oct 2009 14:14:20 GMT
Connection information for squid:
Number of clients accessing cache: 0
Number of HTTP requests received: 51484
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 154.7
Average ICP messages per minute since start: 0.0
Select loop called: 904748 times, 22.065 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 49.4%, 60min: 34.8%
Byte Hit Ratios: 5min: 31.2%, 60min: 7.9%
Request Memory Hit Ratios: 5min: 1.4%, 60min: 1.5%
Request Disk Hit Ratios: 5min: 89.5%, 60min: 87.4%
Storage Swap size: 2555762 KB
Storage Mem size: 6140 KB
Mean Object Size: 9.96 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.24524 0.61549
Cache Misses: 1.38447 1.38447
Cache Hits: 0.00919 0.01469
Near Hits: 0.68577 0.42149
Not-Modified Replies: 0.00379 0.00286
DNS Lookups: 0.00000 0.00000
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 19962.846 seconds
CPU Time: 566.283 seconds
CPU Usage: 2.84%
CPU Usage, 5 minute avg: 5.64%
CPU Usage, 60 minute avg: 4.37%
Process Data Segment Size via sbrk(): 0 KB
Maximum Resident Size: 46340 KB
Page faults with physical i/o: 3
Memory accounted for:
Total accounted: 24564 KB
memPoolAlloc calls: 8456869
memPoolFree calls: 7916206
File descriptor usage for squid:
Maximum number of file descriptors: 235929
Largest file desc currently in use: 128
Number of file desc currently in use: 69
Files queued for open: 0
Available number of file descriptors: 235860
Reserved number of file descriptors: 100
Store Disk files open: 1
IO loop method: kqueue
Internal Data Structures:
256734 StoreEntries
1457 StoreEntries with MemObjects
1440 Hot Object Cache Items
256664 on-disk objectssquidclient mgr:curcounters
HTTP/1.0 200 OK
Server: Lusca/LUSCA_HEAD
Date: Mon, 26 Oct 2009 14:15:13 GMT
Content-Type: text/plain
Expires: Mon, 26 Oct 2009 14:15:13 GMT
X-Cache: MISS from www.hikmah-teknologi.co.cc
X-Cache-Lookup: MISS from www.hikmah-teknologi.co.cc:3128
Via: 1.0 proxy.hikmah-teknologi.net:3128 (Lusca/LUSCA_HEAD)
Connection: closeinfo.client_side.conn_count=19
info.http.conn_count=11
info.clientdb.num_clients=0
info.client_side.num_http_requests=51604
info.icp.num_icp_received=0
info.icp.num_icp_sent=0
info.icp.num_icp_replies=0
info.client_side.request_failure_ratio=0.00
info.client_side.req.hit_ratio.5min=41.9
info.client_side.req.hit_ratio.60min=34.0
info.client_side.byte.hit_ratio.5min=12.1
info.client_side.byte.hit_ratio.60min=4.8
info.client_side.mem.hit_ratio.5min=1.1
info.client_side.mem.hit_ratio.60min=1.5
info.client_side.disk.hit_ratio.5min=86.7
info.client_side.disk.hit_ratio.60min=87.1
info.store.disk.sizekb=2555890
info.store.mem.sizekb=6144
info.fd.max_count=235929
info.fd.largest_count=128
info.fd.current_count=62 -
Terima kasih :D cukup lengkap rasanya, mahu melihat keberkesanan / effectiveness
squid yang terpasang, mungkin dari sini dapat di ubah squid memory size, max filesize
atau cache size untuk lebih baik lagi ;)
-
Kalo IP servis squid nya 192.168.5.1 gimana om grage perintah buat liat nya…???
Thanks
Zchellpy
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy