Online Book Reader

Home Category

Squid_ The Definitive Guide - Duane Wessels [146]

By Root 2026 0
of counters. Actually, it is an array of counters. Squid shifts the array every 60 seconds and calculates 1-, 5-, and 60-minute averages from this array. This page is simply a dump of the current counter values in a format more suitable for computer processing than for reading by humans. The counters are as follows:

sample_time

The sample time is actually the time of the last shift, rather than the current time. The sample time is always within 60 seconds of the current time.

client_http.requests

The number of HTTP requests received from clients.

client_http.hits

The number of cache hits in response to client requests. A hit is any transaction logged with one of the TCP_HIT codes in access.log.

client_http.errors

The number of client transactions that resulted in an error.

client_http.kbytes_in

The amount of traffic (in kilobytes) received from clients in their requests. This is measured at the HTTP layer and doesn't include TCP, IP, and other packet headers.

client_http.kbytes_out

The amount of traffic (in kilobytes) sent to clients in responses. Also measured at the HTTP layer.

client_http.hit_kbytes_out

The amount of traffic sent to clients in responses that are cache hits. Keep in mind that some cache hits are 304 (Not Modified) responses.

server.all.requests

The number of requests forwarded to origin servers (or neighbor caches) for all server-side protocols (HTTP, FTP, Gopher, etc.).

server.all.errors

The number of server-side requests (all protocols) that resulted in some kind of error.

server.all.kbytes_in

The amount of traffic (in kilobytes) read from the server-side for all protocols.

server.all.kbytes_out

The amount of traffic written to origin servers and/or neighbor caches for server-side requests.

server.http.requests

The number of server-side requests to HTTP servers, including neighbor caches.

server.http.errors

The number of server-side HTTP requests that resulted in an error.

server.http.kbytes_in

The amount of traffic read from HTTP origin servers and neighbor caches.

server.http.kbytes_out

The amount of traffic written to HTTP origin servers and neighbor caches.

server.ftp.requests

The number of requests sent to FTP servers.

server.ftp.errors

The number of requests sent to FTP servers that resulted in an error.

server.ftp.kbytes_in

The amount of traffic read from FTP servers, including control channel traffic.

server.ftp.kbytes_out

The amount of traffic written to FTP servers, including control channel traffic.

server.other.requests

The number of "other" server-side requests. Currently, the other protocols are Gopher, WAIS, and SSL.

server.other.errors

The number of Gopher, WAIS, and SSL requests that resulted in an error.

server.other.kbytes_in

The amount of traffic read from Gopher, WAIS, and SSL servers.

server.other.kbytes_out

The amount of traffic written to Gopher, WAIS, and SSL servers.

icp.pkts_sent

The number of ICP messages sent to neighbors. This includes both queries and replies but doesn't include HTCP messages.

icp.pkts_recv

The number of ICP messages received from neighbors, including both queries and replies.

icp.queries_sent

The number of ICP queries sent to neighbors.

icp.replies_sent

The number of ICP replies sent to neighbors.

icp.queries_recv

The number of ICP queries received from neighbors.

icp.replies_recv

The number of ICP replies received from neighbors.

icp.query_timeouts

The number of times that Squid timed out waiting for ICP replies to arrive.

icp.replies_queued

The number of times Squid queued an ICP message after the initial attempt to send failed. See Section 14.2.1.24.

icp.kbytes_sent

The amount of traffic sent in all ICP messages, including both queries and replies.

icp.kbytes_recv

The amount of traffic received in all ICP messages, including both queries and replies.

icp.q_kbytes_sent

The amount of traffic sent to neighbors in ICP queries.

icp.r_kbytes_sent

The amount of traffic sent to neighbors in ICP replies.

icp.q_kbytes_recv

Return Main Page Previous Page Next Page

®Online Book Reader