You can monitor HTTP sessions by using the netstat TCP/IP utility and the Performance Monitor.
The netstat utility shows static information at a given point in time. Netstat is best used to determine the status of connections. Table 1.4 provides examples of netstat syntax and the results of each.
Table 1.4 Netstat Command Examples
Example syntax | Result |
netstat | Displays protocol (TCP or User Datagram Protocol) being used, local and foreign (remote) addresses by their friendly names, the port number used on the local computer, and the state of the connection. |
netstat -n | Displays protocol (TCP or UDP) being used, local and foreign socket addresses, and the state of the connection. |
netstat -s -p tcp | Displays active opens, passive opens, failed connection attempts, reset connections, current connections, segments received, segments sent, and segments retransmitted. |
For more information on the netstat utility, see the online Command Reference in Windows NT Help.
Performance Monitor shows events happening in real time. Performance Monitor is best used to check the status of users. Table 1.5 shows real-time statistics that Performance Monitor displays for HTTP as well as FTP and Gopher.
Table 1.5 Statistics Displayed by Performance Monitor
Counter | HTTP service | Objects for FTP service | Gopher service |
Aborted Connections | NA | NA | ü |
Bytes Received/sec | ü | ü | ü |
Bytes Sent/sec | ü | ü | ü |
Bytes Total/sec | ü | ü | ü |
CGI Requests | ü | NA | NA |
Connection Attempts | ü | ü | ü |
Connection/sec | ü | NA | NA |
Connections in Error | NA | NA | ü |
Current Anonymous Users | ü | ü | ü |
Current CGI Requests | ü | NA | NA |
Current Connections | ü | ü | ü |
Current ISAPI Extension Requests | ü | NA | NA |
Current NonAnonymous Users | ü | ü | ü |
Directory Listings Sent | NA | NA | ü |
Files Received | ü | ü | NA |
Files Sent | ü | ü | ü |
Files Total | ü | ü | NA |
Get Requests | ü | NA | NA |
Gopher Plus Requests | NA | NA | ü |
Head Requests | ü | NA | NA |
ISAPI Extension Requests | ü | NA | NA |
Logon Attempts | ü | ü | ü |
Maximum Anonymous Users | ü | ü | ü |
Maximum CGI Requests | ü | NA | NA |
Maximum Connections | ü | ü | ü |
Maximum ISAPI Extension Requests | ü | NA | NA |
Maximum NonAnonymous Users | ü | ü | ü |
Not Found Errors | ü | NA | NA |
Other Request Methods | ü | NA | NA |
Post Requests | ü | NA | NA |
Searches Sent | NA | NA | ü |
Total Anonymous Users | ü | ü | ü |
Total NonAnonymous Users | ü | ü | ü |