Accessthe stats-xml URI, for example:
http://yourhost:port/stats-xml
Thestatistics are displayed in XML format.
ToEnable the stats-xml URI from the CLI
Usethe following command to enable stats-xml:
./wadm enable-stats-xml --user=admin-user --password-file=admin-password-le
[--uri-prefix=prex]--config=cong-name --vs=virtual-server-name
Usethe uri-prefix option to set the stats-xml URI.
Deploythe conguration using the wadm deploy-config command.
Accessthe stats-xml URI, for example:
http://yourhost:port/stats-xml
Thestatistics are displayed in XML format.
ToLimit the stats-xml Statistics Displayedin the URI
Youcan modify the stats-xml URI to limit the data it provides.
Modifythe stats-xml URI to limit the information by setting elements to 0 or 1. An element set
to0 is not displayed on the stats-xml output. Forexample:
http://yourhost:port/stats-xml?thread=0&process=0
Thissyntax limits the stats-xml output so that thread and process statistics are not included.
Bydefault all statistics are enabled (set to 1).
Mostof the statistics are available at the server level, but some are available at the process level.
Usethe 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
MonitoringServer Performance
SunJavaSystem Web Server 7.0 Update 1 Performance Tuning,Sizing, and Scaling Guide 30