■
Java DataBase Connectivity (JDBC
TM
) (available if a JDBC resource is created and the
connection pool is accessed)
For the virtual server, statistics are available in the following areas:
■
General
■
Response
■
Web Applications
■
Proling Data (available if proling is enabled)
■
Servlet and Servlet Response Cache (available if the Servlet cache is enabled in
sun.web.xml)
Some statistics default to zero if Quality of Service (QoS) is not enabled, for example, the count
of open connections, the maximum open connections, the rate of bytes transmitted, and the
maximum byte transmission rate.
Enabling Statistics
Statistics are activated by default on Web Server. However, if you have disabled them, you need
to enable them again to monitor your server for performance. To enable statistics, use Admin
Console or the wadm command-line utility (CLI).
Note – Collecting statistics causes a slight hit to performance.
▼
To Enable Statistics from the Admin Console
From the AdminConsole CommonTaskspage, select the conguration.
Click Edit Conguration.
Click the General tab.
Click the Monitoring Settings sub tab.
On the Monitoring Settings page,under General Settings, select the Statistics Enabled
checkbox.
Congurethe interval and proling.
■
The Interval is the period in seconds between statistics updates. A higher setting (less
frequent) improves performance. The minimum value is .001 seconds; the default value is 5
seconds.
■
Proling is activated by default. Deactivating it results in slightly less monitoring overhead.
1
2
3
4
5
6
MonitoringServerPerformance
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide •24