Sun Java System Web Server 6.1 SP12 Administrator's Guide

Monitoring the Server Using Statistics

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:

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.


Caution – Caution –

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.


Enabling Statistics

You need to perform the following steps to enable statics:

ProcedureTo enable statistics

  1. From the Server Manager, click the Monitor tab.

  2. Click Monitor Current Activity

  3. Click Yes to enable statistics.

  4. Click OK.

  5. Click Apply to apply your changes. You do not need to restart the server.

    For more information on enabling statistics, see the online help.

Using Statistics

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:

ProcedureTo access statistics

  1. From the Server Manager, click the Monitor tab.

  2. Click Monitor Current Activity.

  3. From the drop-down list, choose the poll interval.

    The poll interval is the number of seconds between updates of the statistics information displayed.

  4. From the drop-down list, choose the kind of statistics you want displayed.

  5. 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.