Sun Java System Web Server 7.0 Update 4 Administrator's Guide

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 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.