you have a script in libexec/squid (in squid2.4stable1) named cachemgr.cgi
you put an http server and you can get html pages with a lot of
informations
LuisMi <luismi@adpsoft.com> on 14/05/2001 13:28:12
Please respond to LuisMi <luismi@adpsoft.com>
To: Stephane Blat/France/IBM@IBMFR
cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Squid usage
How do you get that stats?
-- LuisMi -------------------------------------------------------------- Please answer me in text plain and use spanish if you can/want. Also please reply with the original text and subject. e-mail powered by Pine On Mon, 14 May 2001 BLATS@fr.ibm.com wrote: > > > Could somebody tell me if there is somethings that can improve the > efficiency of squid > > What is the difference between client_http.requests and client_http.hits > > > Squid Object Cache: Version 2.4.STABLE1 > > Start Time: > Mon, 14 May 2001 02:06:17 GMT > Current Time: > Mon, 14 May 2001 10:08:17 GMT > > > Connection information for squid: > Number of clients accessing cache: 3751 > Number of HTTP requests received: 1479320 > Number of ICP messages received: 1430114 > Number of ICP messages sent: 1448698 > Number of queued ICP replies: 0 > Request failure ratio: 0.0000000000000% > HTTP requests per minute: 3069.1 > ICP messages per minute: 5972.7 > Select loop called: 2586341 times, 11.182 ms avg > Cache information for squid: > Request Hit Ratios: 5min: 27.9%, 60min: 26.7% > Byte Hit Ratios: 5min: 19.3%, 60min: 17.2% > Request Memory Hit Ratios: 5min: 1.8%, 60min: 1.9% > Request Disk Hit Ratios: 5min: 37.8%, 60min: 41.1% > Storage Swap size: 6445316 KB > Storage Mem size: 16368 KB > Mean Object Size: 13.22 KB > Requests given to unlinkd: 4530 > Median Service Times (seconds) 5 min 60 min: > HTTP Requests (All): 0.39928 0.39928 > Cache Misses: 0.76407 0.85130 > Cache Hits: 0.17711 0.14252 > Near Hits: 0.85130 0.85130 > Not-Modified Replies: 0.15048 0.11465 > DNS Lookups: 0.14261 0.13638 > ICP Queries: 0.00000 0.00000 > Resource usage for squid: > UP Time: 28919.875 seconds > CPU Time: 17488.190 seconds > CPU Usage: 60.47% > CPU Usage, 5 minute avg: 85.26% > CPU Usage, 60 minute avg: 86.70% > Maximum Resident Size: 707440 KB > Page faults with physical i/o: 7156 > Memory usage for squid via mallinfo(): > Total space in arena: 175296 KB > Ordinary blocks: 155890 KB 2352308 blks > Small blocks: 0 KB 0 blks > Holding blocks: 0 KB 0 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 1028 KB > Total in use: 155890 KB 89% > Total free: 1028 KB 1% > Memory accounted for: > Total accounted: 104467 KB > memPoolAlloc calls: 171215030 > memPoolFree calls: 169190130 > File descriptor usage for squid: > Maximum number of file descriptors: 32768 > Largest file desc currently in use: 1353 > Number of file desc currently in use: 1242 > Files queued for open: 0 > Available number of file descriptors: 31526 > Reserved number of file descriptors: 100 > Store Disk files open: 0 > Internal Data Structures: > 503560 StoreEntries > 18206 StoreEntries with MemObjects > 2104 Hot Object Cache Items > 487375 on-disk objects > > DISKD Stat > > sent_count: 3258314 > recv_count: 3258275 > max_away: 145 > max_shmuse: 133 > open_fail_queue_len: 2415 > block_queue_len: 43219991 > > OPS SUCCESS FAIL > open 355278 355177 99 > create 281560 281553 0 > close 636719 636706 0 > unlink 304766 304511 255 > read 513435 513331 0 > write 1166556 1166539 0 > > > 5 Minutes average of counters > > > > sample_start_time = 989834445.551414 (Mon, 14 May 2001 10:00:45 GMT) > sample_end_time = 989834746.10227 (Mon, 14 May 2001 10:05:46 GMT) > client_http.requests = 95.157801/sec > client_http.hits = 26.755747/sec > client_http.errors = 0.000000/sec > client_http.kbytes_in = 37.093270/sec > client_http.kbytes_out = 377.402809/sec > client_http.all_median_svc_time = 0.378247 seconds > client_http.miss_median_svc_time = 0.806511 seconds > client_http.nm_median_svc_time = 0.142521 seconds > client_http.nh_median_svc_time = 0.851301 seconds > client_http.hit_median_svc_time = 0.177113 seconds > server.all.requests = 53.288502/sec > server.all.errors = 0.000000/sec > server.all.kbytes_in = 302.760299/sec > server.all.kbytes_out = 27.005365/sec > server.http.requests = 51.997143/sec > server.http.errors = 0.000000/sec > server.http.kbytes_in = 297.594865/sec > server.http.kbytes_out = 26.213243/sec > server.ftp.requests = 0.009985/sec > server.ftp.errors = 0.000000/sec > server.ftp.kbytes_in = 0.918595/sec > server.ftp.kbytes_out = 0.000000/sec > server.other.requests = 1.281374/sec > server.other.errors = 0.000000/sec > server.other.kbytes_in = 4.253495/sec > server.other.kbytes_out = 0.792122/sec > icp.pkts_sent = 98.156548/sec > icp.pkts_recv = 96.608915/sec > icp.queries_sent = 84.620583/sec > icp.replies_sent = 13.535965/sec > icp.queries_recv = 13.535965/sec > icp.replies_recv = 83.072950/sec > icp.replies_queued = 0.000000/sec > icp.query_timeouts = 0.000000/sec > icp.kbytes_sent = 7.838013/sec > icp.kbytes_recv = 7.435295/sec > icp.q_kbytes_sent = 6.832883/sec > icp.r_kbytes_sent = 1.001801/sec > icp.q_kbytes_recv = 1.055053/sec > icp.r_kbytes_recv = 6.383570/sec > icp.query_median_svc_time = 0.000000 seconds > icp.reply_median_svc_time = 0.000000 seconds > dns.median_svc_time = 0.142607 seconds > unlink.requests = 0.176397/sec > page_faults = 0.129801/sec > select_loops = 10.873371/sec > select_fds = 563.225283/sec > average_select_fd_period = 0.001702/fd > median_select_fds = 42.998688 > swap.outs = 18.381887/sec > swap.ins = 25.131564/sec > swap.files_cleaned = 0.039939/sec > aborted_requests = 8.683386/sec > syscalls.polls = 39.539529/sec > syscalls.disk.opens = 43.476841/sec > syscalls.disk.closes = 43.496810/sec > syscalls.disk.reads = 35.362584/sec > syscalls.disk.writes = 95.683664/sec > syscalls.disk.seeks = 0.000000/sec > syscalls.disk.unlinks = 15.725949/sec > syscalls.sock.accepts = 43.436902/sec > syscalls.sock.sockets = 36.437607/sec > syscalls.sock.connects = 33.485455/sec > syscalls.sock.binds = 33.645210/sec > syscalls.sock.closes = 67.583306/sec > syscalls.sock.reads = 329.569298/sec > syscalls.sock.writes = 262.974480/sec > syscalls.sock.recvfroms = 120.459106/sec > syscalls.sock.sendtos = 106.174286/sec > cpu_time = 254.450000 seconds > wall_time = 300.458813 seconds > cpu_usage = 84.687148% > > >Received on Mon May 14 2001 - 06:17:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:59 MST