Sun Java System Web Server 7.0 Administrator's Guide

Monitoring Through Administration Console

From the administration console, the server statistics can be viewed across the following categories:

Table 13–1 Monitoring Categories

Category

Description

General Statistics 

The General Statistics shows overall Request, Error and Response statistics for the configuration.  

Instance Statistics 

The Instance Statistics shows overall Request, Error and Response statistics for the configuration along with information on server crash and virtual server count. 

Virtual Server Statistics 

The Virtual Server Statistics shows overall Request, Error and Response statistics for the configuration along with the number of open connections and total bytes received/transmitted. 

ProcedureViewing The Statistics

  1. Click the Monitoring tab.

  2. Select the configuration from the list.

  3. View General, Instance and Virtual Server Statistics.


    Note –

    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 above command will fetch the statistics for the given instance. To get the statistics at the configuration level, the above command can be used without the --node option.

    • wadm> get-vs-stats --user=admin --password-file=admin.passwd --host=localhost --port=8989 --config=test --vs=www.test.com --node=cat.test.com --ssl=true

      The above command will fetch the aggregated virtual server statistics for a given configuration across all the nodes where the configuration has been deployed. To get 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 above command will fetch the statistics for a given web application deployed on the given virtual server of the given instance. To get the aggregated web application statistics for a given configuration across all the nodes where the configuration has been deployed, the above 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 above command will fetch the statistics for the servlet servlet-simple.