You can display statistics in XML format by using stats-xml. You can view the stats-xml output through a URI, that you need to enable, or you can view the stats-xml output through the CLI, that is enabled by default.
Select the Proxy Server instance.
Click the Server Status tab.
Click the Monitor Current Activity sub tab.
Ensure that Statistics is enabled (see above).
Select the required Statistics from the dropdown list under Monitor Proxy Server Statistics and click Submit.
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-xmlstatistics:
cache-bucket
connection-queue
connection-queue-bucket (process-level)
cpu-info
host-dns-bucket
client-dns-bucket
keepalive-bucket
process
profile
profile-bucket (process-level)
request-bucket
thread
thread-pool
thread-pool-bucket (process-level)