The server statistics can be viewed across the following categories:
General Statistics
Instance Statistics
Virtual Server Statistics
Category |
Description |
---|---|
General Statistics |
General Statistics shows overall Request, Error and Response statistics for the configuration. |
Instance Statistics |
Instance Statistics shows overall Request, Error and Response statistics for the instances along with information on server crash and virtual server count. |
Virtual Server Statistics |
Virtual Server Statistics shows overall Request, Error and Response statistics for the virtual servers along with the number of open connections and total bytes received/transmitted. |
Click the Monitoring tab.
Select the configuration from the list.
View General, Instance and Virtual Server Statistics.
Using CLI
You can
monitor the server using the get-config-stats
, get-virtual-serevr-stats
, get-webapp-stats
and get-servlet-stats
commands.
wadm> get-config-stats --user=admin --password-file=admin.passwd
--host=localhost --port=8989 --config=test --node=cat.test.com --ssl=true
The preceding command
will fetch the statistics for the given instance. To see the statistics at the
configuration level, the above command can be used without the --node
option.
wadm> get-virtual-server-stats --user=admin --password-file=admin.passwd
--host=localhost --port=8989 --config=test --vs=www.test.com --node=cat.test.com
--ssl=true
The preceding command will fetch the aggregated
virtual server statistics for a given configuration across all the nodes where
the configuration has been deployed. To see the statistics for a configuration
deployed on a given node --node
option can be used.
wadm> get-webapp-stats --user=admin --password-file=admin.passwd
--host=localhost --port=8989 --config=test --node=cat.test.com --vs=www.test.com
--uri=/foo --ssl=true
The preceding command will
fetch the statistics for a given web application deployed on the given virtual
server of the given instance. To see the aggregated web application statistics
for a given configuration across all the nodes where the configuration has
been deployed, the previous command can be used without the --node
option.
wadm> get-servlet-stats --user=admin --password-file=admin.pwd
--host=localhost --port=8989 --config=test --node=cat.test.com --vs=www.test.com
--uri=/servlet-simple --ssl=true
The preceding command will fetch the statistics for the servlet servlet-simple.
From the Common Tasks page, click the Configuration tab and select the configuration from the list.
Click the Edit Virtual Server tab.
Click the Monitoring Setting tab.
Enable the XML Report check box and provide the publishing URI.
Click the Save button.
Click the Deployment Pending link at the top right of the screen.
Click the Deploy button.
For example, if you have configured the default URI, then you can view the stats-xml file by typing the following URL in the browser.
http://host:port/stats-xml
If you want to view the .dtd of the stats-xml file, type the following URL in the browser.
http://host:port/stats-xml/yyy.dtd