Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual page 194

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Viewing Monitoring Data
servlet, connection, connectorpool, endpoint, entitybean, messagedriven,
statefulsession, statelesssession, httpservice, or webmodule.
For example, to view data for jvm on server, enter the following:
asadmin>monitor --type jvm --user adminuser server
UpTime(ms)
current
327142979
To view monitoring data and send the output to a CSV file, use the filename option. For
2
example:
asadmin> monitor --type jvm --filename myoutputfile --user adminuser server
To Use the asadmin get and list Commands to View Monitoring Data
The monitor command is useful in most situations. However, it does not offer the complete list
of all monitorable objects. To view all monitorable data using the asadmin tool, use the asadmin
list and asadmin get commands followed by the dotted name of a monitorable object, as
follows.
To view the names of the objects that can be monitored, use the asadmin list command.
1
For example, to view a list of application components and subsystems that have monitoring
enable for the server instance, type the following command in a terminal window:
asadmin> list --user adminuser --monitor server
The preceding command returns a list of application components and subsystems that have
monitoring enabled, for example:
server.resources
server.connector-service
server.orb
server.jms-service
server.jvm
server.applications
server.http-service
server.sip-service
server.thread-pools
For further examples using the list command, refer to
Commands" on page
list command, refer to
194
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
JVM Monitoring
min
max
0
531628032 0
196. For further information on the dotted names you can use with the
"Understanding and Specifying Dotted Names" on page
HeapSize(bytes)
low
high
45940736
"Examples of the list and get
count
45940736
195.

Advertisement

Table of Contents
loading

Table of Contents