Sun Microsystems 7 Security Camera User Manual


 
Monitoring Server Performance
Making the adjustments described in this guide without measuring their eects 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 dierent ways.
TABLE1–1 Methodsof Monitoring Performance
MonitoringMethod HowtoEnable HowtoAccess AdvantagesandRequirements
Statistics through the
AdminConsole
Enabled by default In theAdmin Console, for a
conguration, click the
Monitortab
Accessiblewhen session
threads are hanging.
AdministrationServer
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
Accessiblewhen session
threads are hanging.
AdministrationServer
must be running.
XML-formatted statistics
(stats-xml) through a
browser
Enable through
AdminConsole or
through editing a
conguration le
Through a URI AdministrationServer
need not berunning.
XML-formatted statistics
(stats-xml) through the
command-line interface
Enabled by default Through the wadm command
get-stats-xml
Accessiblewhen session
threads are hanging.
AdministrationServer
must be running.
perfdump through a
browser
Enable through
AdminConsole or
through editing a
conguration le
Through a URI AdministrationServer
need not berunning.
perfdump through the
command-line interface
Enabled by default Through wadm command
get-perfdump
Accessiblewhen session
threads are hanging.
AdministrationServer
must be running.
JavaES Monitoring Enabled by default Through the Java ES
MonitoringConsole
Only for Java ES
installations.
AdministrationServer
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.
MonitoringServerPerformance
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide 22