Sie sind auf Seite 1von 3

ASP.

NET Performance Counters


ASP.NET creates many performance counters that you can use to monitor its activity. All these counters are grouped in two performance objects:

ASP.NET, for values related to the ASP.NET runtime.

ASP.NET Applications, for values related to individual applications. (See Figure 1.)

Tables 1 and 2 list the most important performance counters exposed by these objects.

Figure 1 Adding ASP.NET counters to the Performance Monitor window. Table 1 Main Counters in the ASP.NET Performance Object Counter Application Restarts Applications Running Description Number of times the application (or IIS) has been restarted during the Web servers lifetime Number of currently running Web applications

Request Execution Time The number of milliseconds that it took to execute the most recent request Request Wait Time The number of milliseconds the most recent

Counter Requests Disconnected

Description request was waiting in the queue The number of requests that were disconnected due to communication errors or user sessions terminated The number of requests waiting to be processed The number of requests rejected because the request queue was full The number of sessions that have been explicitly abandoned The number of sessions currently active The number of sessions timed out The total number of sessions

Requests Queued Requests Rejected State Server Sessions Abandoned State Server Sessions Active State Server Sessions Timed Out State Server Sessions Total

Worker Process Restarts Number of times a worker process has restarted on the machine Worker Processes Running Number of worker processes running on the machine

Table 2 Main Counters in the ASP.NET Applications Performance Object Counter Anonymous Requests/ Sec Cache API Entries Cache API Hit Ratio Cache Total Entries Cache Total Hit Ratio Compilations Total Description Number of Authentication Anonymous Requests/Sec. Total number of entries within the cache added by the user. Ratio of hits called from user code. Total number of entries within the cache (both internal and user added). Ratio of hits from all cache calls. Number of .asax, .ascx, .ashx, .asmx, or .aspx source files dynamically compiled.

Errors During Execution Number of errors that have occurred during the processing of a request.

Counter Errors During Preprocessing Errors Total Errors Total/Sec

Description Number of errors that have occurred during parsing and configuration. Total number of errors occurred. Rate of errors occurred.

Errors Unhandled During Number of errors not handled by user code, but Execution by the default error handler. Output Cache Entries Output Cache Hit Ratio Request Bytes In Total Current number of entries in the output cache. Ratio of hits to requests for output cacheable requests. The total size, in bytes, of all requests.

Request Bytes Out Total The total size, in bytes, of responses sent to a client. This value doesnt include standard HTTP response headers. Requests Executing Requests Failed The number of requests currently executing. Total number of failed requests.

Requests Not Authorized The number of requests failed due to unauthorized access. Requests Not Found Requests Succeeded Requests Timed Out Requests Total Requests/Sec Sessions Abandoned Sessions Active Sessions Timed Out Sessions Total The number of requests for resources that were not found. The number of requests that executed successfully. The number of requests that timed out. The total number of requests since the application was started. The number of requests executed per second. The number of sessions that have been explicitly abandoned. The number of sessions currently active. The number of sessions timed out. The total number of sessions since the application was started.

Das könnte Ihnen auch gefallen