Displaying HTTP statistics
Types of HTTP statistics displayed
You can use the httpstat command to display the following five types of statistics about HTTP operations on the filer:
- Request
- Detailed
- Error
- Service
- Timeout
Request statistics
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
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
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
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
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
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
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.
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: http17.htm
Last updated: 11/25/03 18:02:58