Sun Microsystems Sun Java System Web Server 7 User Manual

Page of 132
Monitoring Server Performance
Making the adjustments described in this guide without measuring their effects doesn’t make
sense. If you don’t measure the system’s behavior before and after making a change, you won’t
know whether the change was a good idea, a bad idea, or merely irrelevant. You can monitor the
performance of Web Server in several different ways.
TABLE 1–1
Methods of Monitoring Performance
Monitoring Method
How to Enable
How to Access
Advantages and Requirements
Statistics through the
Admin Console
Enabled by default
In the Admin Console, for a
configuration, click the
Monitor tab
Accessible when session
threads are hanging.
Administration Server
must be running.
Statistics through
individual wadm
commands
Enabled by default
Through wadm commands:
get-config-stats
get-virtual-server-stats
get-webapp-stats
get-servlet-stats
Accessible when session
threads are hanging.
Administration Server
must be running.
XML-formatted statistics
(stats-xml) through a
browser
Enable through
Admin Console or
through editing a
configuration file
Through a URI
Administration Server
need not be running.
XML-formatted statistics
(stats-xml) through the
command-line interface
Enabled by default
Through the wadm command
get-stats-xml
Accessible when session
threads are hanging.
Administration Server
must be running.
perfdump
through a
browser
Enable through
Admin Console or
through editing a
configuration file
Through a URI
Administration Server
need not be running.
perfdump
through the
command-line interface
Enabled by default
Through wadm command
get-perfdump
Accessible when session
threads are hanging.
Administration Server
must be running.
Java ES Monitoring
Enabled by default
Through the Java ES
Monitoring Console
Only for Java ES
installations.
Administration Server
must be running.
Monitoring the server does have some impact on computing resources. In general, using
perfdump
through the URI is the least costly, followed by using stats-xml through a URI.
Monitoring Server Performance
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
22