Exit Print View

Sun GlassFish Enterprise Server v3 Administration Guide

  This Document Entire Library
Print View

Document Information

Preface

1.  Overview of Enterprise Server Administration

Default Settings and Locations

Configuration Tasks

Administration Tools

Instructions for Administering Enterprise Server

Part I Runtime Administration

2.  General Administration

3.  Administering Domains

4.  Administering the Virtual Machine for the Java Platform

5.  Administering Thread Pools

6.  Administering Web Applications

7.  Administering the Logging Service

8.  Administering the Monitoring Service

About Monitoring

How the Monitoring Tree Structure Works

Tree Structure of Monitorable Objects

About Monitoring for Add-on Components

Tools for Monitoring Enterprise Server

Configuring Monitoring

To Enable Monitoring

To Disable Monitoring

Viewing Common Monitoring Data

To View Common Monitoring Data

Common Monitoring Statistics

HTTP Listener Common Statistics

JVM Common Statistics

Web Module Common Statistics

Viewing Comprehensive Monitoring Data

Guidelines for Using the list and get Subcommands for Monitoring

To View Comprehensive Monitoring Data

Comprehensive Monitoring Statistics

EJB Statistics

HTTP Service Statistics

Jersey Statistics

JMS/Connector Service Statistics

JRuby Statistics

JVM Statistics

Network Statistics

ORB Statistics (Connection Manager)

Resource Statistics (Connection Pool)

Security Statistics

Thread Pool Statistics

Transaction Service Statistics

Web Statistics

Configuring JConsole to View Enterprise Server Monitoring Data

To Connect JConsole to Enterprise Server

9.  Administering Life Cycle Modules

10.  Extending Enterprise Server

Part II Security Administration

11.  Administering System Security

12.  Administering User Security

13.  Administering Message Security

Part III Resources and Services Administration

14.  Administering Database Connectivity

15.  Administering EIS Connectivity

16.  Administering Internet Connectivity

17.  Administering the Object Request Broker (ORB)

18.  Administering the JavaMail Service

19.  Administering the Java Message Service (JMS)

20.  Administering the Java Naming and Directory Interface (JNDI) Service

21.  Administering Transactions

Part IV Appendixes

A.  Subcommands for the asadmin Utility

Index

Viewing Common Monitoring Data

Use the monitor subcommand to display basic data on commonly-monitored objects.

To View Common Monitoring Data

Use the --type option of the monitor subcommand to specify the object for which you want to display data, such as httplistener, jvm, webmodule. If you use the monitor subcommand without specifying a type, an error message is displayed.

Output from the subcommand is displayed continuously in a tabular format. The --interval option can be used to display output at a particular interval (the default is 30 seconds).

Before You Begin

A monitorable object must be configured for monitoring before you can display data on the object. See To Enable Monitoring .

  1. Determine which type of monitorable object you want to monitor.

    Your choices for v3 are jvm, httplistener, and webmodule.

  2. Request the monitoring data by using the monitor(1) subcommand.

Viewing Common Monitoring Data

This example requests common data for type jvm on instance server.

asadmin> monitor --type jvm server

UpTime(ms)                          Heap and NonHeap Memory(bytes)
current                   min        max        low        high       count

9437266                   8585216    619642880  0          0          93093888
9467250                   8585216    619642880  0          0          93093888
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help monitor at the command line.

Common Monitoring Statistics

Common monitoring statistics are described in the following sections:

HTTP Listener Common Statistics

The statistics available for the httplistener type are shown in the following table.

HTTP Listener Common Monitoring Statistics
Statistic
Description
ec
Error count. Cumulative value of the error count
mt
Maximum time. Longest response time for a request; not a cumulative value, but the largest response time from among the response times
pt
Processing time. Cumulative value of the times taken to process each request, with processing time being the average of request processing times over request
rc
Request count. Cumulative number of requests processed so far
JVM Common Statistics

The statistics available for the jvm type are shown in the following table.

JVM Common Monitoring Statistics
Statistic
Description
count
Amount of memory (in bytes) that is guaranteed to be available for use by the JVM machine
high
Retained for compatibility with other releases
low
Retained for compatibility with other releases
max
The maximum amount of memory that can be used for memory management.
min
Initial amount of memory (in bytes) that the JVM machine requests from the operating system for memory management during startup
UpTime
Number of milliseconds that the JVM machine has been running since it was last started
Web Module Common Statistics

The statistics available for the webmodule type are shown in the following table.

Web Module Common Monitoring Statistics
Statistic
Description
ajlc
Number of active JavaServer Pages (JSP) technology pages that are loaded
asc
Current active sessions
aslc
Number of active servlets that are loaded
ast
Total active sessions
mjlc
Maximum number of JSP pages that are loaded
mslc
Maximum number of servlets that are loaded
rst
Total rejected sessions
st
Total sessions
tjlc
Total number of JSP pages that are loaded
tslc
Total number of servlets that are loaded