Viewing Monitoring Data
2To display monitoring statistics for an application component or subsystem for which monitoring has been enabled, use the asadmin get command.
To get the statistics, type the asadmin get command in a terminal window, specifying a name displayed by the list command in the preceding step. The following example attempts to get all attributes from a subsystem for a specific object:
asadmin> get --user adminuser --monitor server.jvm.*
The command returns the following attributes and data:
the JVM’s memory heap size.
been running.
For further examples using the get command, refer to “Examples of the list and get Commands” on page 196. For further information on the dotted names you can use with the get command, refer to “Understanding and Specifying Dotted Names” on page 195.
Understanding and Specifying Dotted Names
In the asadmin list and get commands, specify the dotted name of monitorable objects. All child objects are addressed using the dot (.) character as separator, thus these are referred to as dotted names. If a child node is of singleton type, then only the monitoring object type is needed to address the object, otherwise a name of the form type.name is needed to address the object.
For example,
server.http-service
Chapter 18 • Monitoring Components and Services | 195 |