Jumat, 06 Juli 2012

Mengetahui perfoma squid

Dari terminal jalankan perintah berikut dengan akses root

[root@proxy squid]# squidclient -p 3128 mgr:info

HTTP/1.0 200 OK
Server: squid/2.6.STABLE21
Date: Sat, 20 Nov 2010 03:55:19 GMT
Content-Type: text/plain
Expires: Sat, 20 Nov 2010 03:55:19 GMT
Last-Modified: Sat, 20 Nov 2010 03:55:19 GMT
X-Cache: MISS from proxy.angsana.lan
X-Cache-Lookup: MISS from proxy.angsana.lan:3128
Via: 1.0 proxy.angsana.lan:3128 (squid/2.6.STABLE21)
Proxy-Connection: close

Squid Object Cache: Version 2.6.STABLE21
Start Time: Fri, 19 Nov 2010 08:11:30 GMT
Current Time: Sat, 20 Nov 2010 03:55:19 GMT
Connection information for squid:
 Number of clients accessing cache: 12
 Number of HTTP requests received: 104083
 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: 87.9
 Average ICP messages per minute since start: 0.0
 Select loop called: 4141085 times, 17.152 ms avg
Cache information for squid:
 Request Hit Ratios: 5min: 21.9%, 60min: 11.3%
 Byte Hit Ratios: 5min: 2.9%, 60min: 1.7%
 Request Memory Hit Ratios: 5min: 0.0%, 60min: 1.5%
 Request Disk Hit Ratios: 5min: 50.0%, 60min: 52.9%
 Storage Swap size: 460732 KB
 Storage Mem size: 8156 KB
 Mean Object Size: 13.68 KB
 Requests given to unlinkd: 31954
Median Service Times (seconds)  5 min    60 min:
 HTTP Requests (All):   0.10857  0.30459
 Cache Misses:          0.22004  0.44492
 Cache Hits:            0.03066  0.03066
 Near Hits:             0.02899  0.03622
 Not-Modified Replies:  0.00179  0.00379
 DNS Lookups:           0.00669  0.01940
 ICP Queries:           0.00000  0.00000
Resource usage for squid:
 UP Time: 71028.763 seconds
 CPU Time: 539.778 seconds
 CPU Usage: 0.76%
 CPU Usage, 5 minute avg: 0.70%
 CPU Usage, 60 minute avg: 1.24%
 Process Data Segment Size via sbrk(): 19988 KB
 Maximum Resident Size: 0 KB
 Page faults with physical i/o: 2
Memory usage for squid via mallinfo():
 Total space in arena:   20120 KB
 Ordinary blocks:        19973 KB    444 blks
 Small blocks:               0 KB      0 blks
 Holding blocks:           244 KB      1 blks
 Free Small blocks:          0 KB
 Free Ordinary blocks:     146 KB
 Total in use:           20217 KB 99%
 Total free:               146 KB 1%
 Total size:             20364 KB
Memory accounted for:
 Total accounted:        16083 KB
 memPoolAlloc calls: 15737672
 memPoolFree calls: 15593786
File descriptor usage for squid:
 Maximum number of file descriptors:   1024
 Largest file desc currently in use:    216
 Number of file desc currently in use:   67
 Files queued for open:                   0
 Available number of file descriptors:  957
 Reserved number of file descriptors:   100
 Store Disk files open:                   0
 IO loop method:                     epoll
Internal Data Structures:
  33708 StoreEntries
   1736 StoreEntries with MemObjects
   1730 Hot Object Cache Items
  33669 on-disk objects

Kayaknya belum OPtimal nih, ada yang bisa bantu
 
sumber : http://obhe-world.blogspot.com/2010/11/mengetahui-perfoma-squid.html 

Tidak ada komentar:

Posting Komentar