Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Displaying HTTP statistics

Types of HTTP statistics displayed  Top

You can use the httpstat command to display the following five types of statistics about HTTP operations on the filer:

Request statistics  Top

If you specify request statistics, Data ONTAP displays the following statistics.

Column

Description

Accept

Number of new connections accepted by the filer

Reuse

Number of new requests received on existing connections

Response

Number of responses sent

InBytes

Number of bytes received for all incoming requests

OutBytes

Number of bytes sent, including all HTTP headers, but not including data generated by servlets

Detailed statistics  Top

If you specify detailed statistics, Data ONTAP displays the following statistics.

Column

Description

Get

Number of requests for files received

Head

Number of requests for file information received

Redirect

Number of requests redirected to another file

NotMod

Number of times clients (browsers) are told that requested files are not modified

Post

Number of POST requests received

Put

Number of PUT requests received

Servlet

Number of servlet requests received

Error statistics  Top

If you specify error statistics, Data ONTAP displays the following statistics.

Column

Description

Errors

Number of HTTP protocol error responses returned

BadReq

Number of unrecognized requests received

LogDiscard

Number of log entries discarded because the log was full

UnAuth

Number of requests denied because they lacked authorization

RcvErr

Number of requests aborted because of errors on the input socket

Service statistics  Top

If you specify service statistics, Data ONTAP displays the following statistics.

Column

Description

Open

Number of currently open connections

Peak

Maximum number of connections ever achieved

Waits

Current number of connections accepted, but waiting for a connection structure

Timeout statistics  Top

If you specify timeout statistics, Data ONTAP displays the following statistics.

Column

Description

Pending

Number of connection structures reclaimed after the network connection was started, but before any data was sent to the filer

Active

Number of connection structures reclaimed after the network connection was started and a partial request was sent, but before the complete request arrived

Idle

Number of connections that were reclaimed after a complete request, but before the open connection could receive another request

Displaying HTTP statistics  Top

To display HTTP statistics, complete the following step.

Step

Action

1

Enter the following command:

httpstat [-dersta]

The -d option displays detailed statistics.

The -e option displays error statistics.

The -r option displays request statistics.

The -s option displays service statistics.

The -t option displays timeout statistics.

The -a option displays all HTTP statistics.

If you use no arguments, httpstat displays HTTP request statistics.

For detailed information about the httpstat command, see the na_httpstat(1) man page.

Resetting HTTP statistics  Top

To reset HTTP statistics, complete the following step.

Step

Action

1

Enter the following command:

httpstat [-zderta]

The -zd option resets detailed statistics.

The -ze option resets error statistics.

The -zr option resets request statistics.

The -zt option resets timeout statistics.

The -za option resets all HTTP statistics except the service statistics.

Note
You cannot reset the service statistics.

For detailed information about the httpstat command, see the na_httpstat(1) man page.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments