You can use the statistics feature to monitor your server’s current activity. The statistics show you how many requests your server is handling and how well it is handling these requests. You can view some statistics for individual virtual servers, and others for the entire server instance. If the interactive server monitor reports that the server is handling a large number of requests, you may need to adjust the server configuration or the system’s network kernel to accommodate the requests. For more information, see the online Sun Java System Web Server 6.1 Performance Tuning, Sizing and Scaling Guide.
Once you enable statistics, you can view statistics in the following areas:
connections
DNS
KeepAlive
cache
virtual servers
For a description of the server statistics for which the interactive server monitor reports the totals, see the Monitor Current Activity page in the online help.
When you enable statistics/profiling, statistics information is made available to any user of your server. See the description of stats-xml in the Sun Java System Web Server 6.1 SP12 NSAPI Programmer’s Guide for more information.
You need to perform the following steps to enable statics:
From the Server Manager, click the Monitor tab.
Click Monitor Current Activity
Click Yes to enable statistics.
Click OK.
Click Apply to apply your changes. You do not need to restart the server.
For more information on enabling statistics, see the online help.
Once you have enabled statistics, you can get a variety of information on how your server instance and your virtual servers are running. The statistics are broken up into functional areas.
To access statistics, perform the following steps:
From the Server Manager, click the Monitor tab.
Click Monitor Current Activity.
From the drop-down list, choose the poll interval.
The poll interval is the number of seconds between updates of the statistics information displayed.
From the drop-down list, choose the kind of statistics you want displayed.
Click Submit.
If your server instance is running, and you have enabled statistics/profiling, you see a page displaying the kind of statistics you selected. The page is updated every 5-15 seconds, depending upon what you chose for the poll interval.
You can use the data you see in statistics to tune your server. For more information, see the online Sun Java System Web Server 6.1 SP12 Performance Tuning, Sizing, and Scaling Guide.