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 the following command to enable
stats-xml
:
./wadm enable-stats-xml --user=
admin-user
--password-file=
admin-password-file
[--uri-prefix=
prefix
]--config=
config-name
--vs=
virtual-server-name
Use the
uri-prefix
option to set the
stats-xml
URI.
Deploy the configuration 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
URI to limit the information by setting elements to 0 or 1. An element set
to 0 is not displayed on the
stats-xml
output. For example:
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
●
Monitoring Server Performance
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
30
Содержание Sun Java System Web Server 7.0
Страница 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Страница 10: ...10 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 84: ...84 ...
Страница 100: ...100 ...