ADC CLI Commands

protocol-http

The following operations can be performed on “protocol-http”:

stat protocol http

Displays statistics of the HTTP protocol.

Synopsis

stat protocol http [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic full )]

Arguments

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

Counters

Total requests (HTReqRx) Total number of HTTP requests received.

Total responses (HTRspRx) Total number of HTTP responses sent.

Request bytes received (HTReqbRx) Total number of bytes of HTTP request data received.

Response bytes received (HTRspbRx) Total number of bytes of HTTP response data received.

GETs (HTGETs) Total number of HTTP requests received with the GET method.

POSTs (HTPOSTs) Total number of HTTP requests received with the POST method.

Other methods (HTOthers) Total number of HTTP requests received with methods other than GET and POST. Some of the other well-defined HTTP methods are HEAD, PUT, DELETE, OPTIONS, and TRACE. User-defined methods are also allowed.

HTTP/1.0 requests (HT10ReqRx) Total number of HTTP/1.0 requests received.

HTTP/1.1 requests (HT11ReqRx) Total number of HTTP/1.1 requests received.

Content-length requests (HTCLnReq) Total number of HTTP requests in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

Chunked requests (HTChkReq) Total number of HTTP requests in which the Transfer-Encoding field of the HTTP header has been set to chunked.

Request bytes transmitted (HTReqbTx) Total number of bytes of HTTP request data transmitted.

HTTP/1.0 responses (HT10RspRx) Total number of HTTP/1.0 responses sent.

HTTP/1.1 responses (HT11RspRx) Total number of HTTP/1.1 responses sent.

Content-length responses (HTCLnRsp) Total number of HTTP responses sent in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

Chunked responses (HTChunk) Total number of HTTP responses sent in which the Transfer-Encoding field of the HTTP header has been set to chunked. This setting is used when the server wants to start sending the response before knowing its total length. The server breaks the response into chunks and sends them in sequence, inserting the length of each chunk before the actual data. The message ends with a chunk of size zero.

Multi-part responses (HTMPrtHd) Total number of HTTP multi-part responses sent. In multi-part responses, one or more entities are encapsulated within the body of a single message.

FIN-terminated responses (HTNoCLnChunk) Total number of FIN-terminated responses sent. In FIN-terminated responses, the server finishes sending the data and closes the connection.

Response bytes transmitted (HTRspbTx) Total number of bytes of HTTP response data transmitted.

Incomplete headers (HTIncHd) Total number of HTTP requests and responses received in which the HTTP header spans more than one packet.

Incomplete request headers (HTIncReqHd) Total number of HTTP requests received in which the header spans more than one packet.

Incomplete response headers (HTIncRspHd) Total number of HTTP responses received in which the header spans more than one packet.

HTTP 500 Server-busy Responses (HT500Rsp) Total number of HTTP error responses received. Some of the error responses are: 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout 505 HTTP Version Not Supported

Large/Invalid messages (HTInvReq) Total number of requests and responses received with large body.

Large/Invalid chunk requests (HTInvChkRx) Total number of requests received with large chunk size, in which the Transfer-Encoding field of the HTTP header has been set to chunked.

Large/Invalid content-length (HTInvCLn) Total number of requests received with large content, in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

Content-length +TransferEncoding (HTDesynClTe) Total number of requests/responses received with both content-length and transfer encoding headers - RFC7230 Non-compliance

Multiple content-length headers (HTDesynMulCtlen) Total number of request/response received with multiple content-length headers with different values - RFC7230 Non-compliance

Duplicate content-length headers (HTDesynIdenCtlen) Total number of request/response received with duplicate content-length headers - RFC7230 Non-compliance

Invalid host header requests (HTInvalidHostHdr) Total number of request received with invalid host header

protocol-http