Todisplaymonitoring statistics for an application component or subsystem for which
monitoringhas been enabled, use the asadmin get command.
Toget the statistics, type the asadmin get command in a terminal window, specifying a name
displayedby the list command in the preceding step. The following example attempts to get
allattributes from a subsystem for a specic object:
asadmin> get --user adminuser --monitor server.jvm.*
Thecommand returns the following attributes and data:
server.jvm.dotted-name = server.jvm
server.jvm.heapsize-current = 21241856
server.jvm.heapsize-description = Provides statistical information about
the JVM’s memory heap size.
server.jvm.heapsize-highwatermark = 21241856
server.jvm.heapsize-lastsampletime = 1080232913938
server.jvm.heapsize-lowerbound = 0
server.jvm.heapsize-lowwatermark = 0
server.jvm.heapsize-name = JvmHeapSize
server.jvm.heapsize-starttime = 1080234457308
server.jvm.heapsize-unit = bytes
server.jvm.heapsize-upperbound = 518979584
server.jvm.uptime-count = 1080234457308
server.jvm.uptime-description = Provides the amount of time the JVM has
been running.
server.jvm.uptime-lastsampletime = 1080234457308
server.jvm.uptime-name = JvmUpTime
server.jvm.uptime-starttime = 1080232913928
server.jvm.uptime-unit = milliseconds
Forfurther 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.
Understandingand Specifying Dotted Names
Inthe asadmin list and get commands, specify the dotted name of monitorable objects. All
childobjects are addressed using the dot (.) character as separator, thus these are referred to as
dottednames. If a child node is of singleton type, then only the monitoring object type is needed
toaddress the object, otherwise a name of the form type.name is needed to address the object.
Forexample, http-service is one of the valid monitorable object types and is a singleton. To
addressa singleton child node representing the http-service of instance server, the dotted
nameis:
server.http-service
2
ViewingMonitoringData
Chapter18 • Monitoring Components and Ser vices 195