Access the stats-xml URI, for example:
http://yourhost:port/stats-xml
The statistics are displayed in XML format.
▼
To Enable the stats-xml URI from the CLI
Use thefollowing command to enable stats-xml:
./wadm enable-stats-xml --user=admin-user --password-file=admin-password-le
[--uri-prefix=prex]--config=cong-name --vs=virtual-server-name
Use the uri-prefix option to set the stats-xml URI.
Deploy the conguration using the wadm deploy-config command.
Access the stats-xml URI, for example:
http://yourhost:port/stats-xml
The statistics are displayed in XML format.
▼
To Limit the stats-xml Statistics Displayed in the URI
You can modify the stats-xml URI to limit the data it provides.
Modify the stats-xml URIto limit the information by settingelements to 0 or1. An element set
to 0 is not displayed on the stats-xmloutput. Forexample:
http://yourhost:port/stats-xml?thread=0&process=0
This syntax limits the stats-xml output so that thread and process statistics are not included.
By default all statistics are enabled (set to 1).
Most of the statistics are available at the server level, but some are available at the process level.
Use the following syntax elements to limit stats-xml:
■
cache-bucket
■
connection-queue
■
connection-queue-bucket (process-level)
■
cpu-info
■
dns-bucket
■
jdbc-resource-bucket
■
keepalive-bucket
■
process
■
profile
■
profile-bucket (process-level)
■
request-bucket
■
servlet-bucket
8
1
2
3
●
MonitoringServerPerformance
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide •30