Viewing Monitoring Data
When an attribute is requested that does not exist for a particular component or subsystem, an error is returned. Similarly, when a specific attribute is requested that is not active for a component or subsystem, an error is returned.
Refer to “Expected Output for list and get Commands at All Levels” on page 202 for more information on the use of the get command.
Example 1
Attempt to get all attributes from a subsystem for a specific object:
asadmin> get --user admin-user --monitor server.jvm.*
Returns:
the JVM’s memory heap size.
been running.
Example 2
Attempt to get all attributes from a Java EE application:
asadmin> get
Returns:
No matches resulted from the wildcard expression.
CLI137 Command get failed.
There are no monitorable attributes exposed at the
198 | Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008 |