1. Overview of GlassFish Server Administration
Default Settings and Locations
Instructions for Administering GlassFish Server
4. Administering the Virtual Machine for the Java Platform
6. Administering Web Applications
7. Administering the Logging Service
8. Administering the Monitoring Service
How the Monitoring Tree Structure Works
Tree Structure of Monitorable Objects
About Monitoring for Add-on Components
Tools for Monitoring GlassFish Server
Viewing Comprehensive Monitoring Data
Guidelines for Using the list and get Subcommands for Monitoring
To View Comprehensive Monitoring Data
Comprehensive Monitoring Statistics
JMS/Connector Service Statistics
ORB Statistics (Connection Manager)
Resource Statistics (Connection Pool)
Transaction Service Statistics
Configuring JConsole to View GlassFish Server Monitoring Data
To Connect JConsole to GlassFish Server
9. Writing and Running JavaScript Clients to Monitor GlassFish Server
10. Administering Life Cycle Modules
11. Extending and Updating GlassFish Server
Part II Resources and Services Administration
12. Administering Database Connectivity
13. Administering EIS Connectivity
14. Administering Internet Connectivity
15. Administering the Object Request Broker (ORB)
16. Administering the JavaMail Service
17. Administering the Java Message Service (JMS)
18. Administering the Java Naming and Directory Interface (JNDI) Service
19. Administering Transactions
Use the monitor subcommand to display basic data on commonly-monitored objects.
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.
Your choices for 3.1 are jvm, httplistener, and webmodule.
Example 8-7 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 are described in the following sections:
The statistics available for the httplistener type are shown in the following table.
Table 8-1 HTTP Listener Common Monitoring Statistics
|
The statistics available for the jvm type are shown in the following table.
Table 8-2 JVM Common Monitoring Statistics
|
The statistics available for the webmodule type are shown in the following table.
Table 8-3 Web Module Common Monitoring Statistics
|