Examplesfor the list --user admin-user --monitor Command
Thelist command provides information about the application components and subsystems
currentlybeing monitored for the specied server instance name. Using this command, you can
seethe monitorable components and subcomponents for a server instance. For a more
completelisting of list examples, see “Expected Output for list and get Commands at All
Levels”on page 202.

Example1

asadmin> list --user admin-user --monitor server
Thepreceding command returns a list of application components and subsystems that have
monitoringenabled, for example:
server.resources
server.orb
server.jvm
server.jms-service
server.connector-service
server.applications
server.http-service
server.thread-pools
Itis also possible to list applications that are currently monitored in the specied server
instance.This is useful when particular monitoring statistics are sought from an application
usingthe get command.

Example2

asadmin> list --user admin-user --monitor server.applications
Returns:
server.applications.adminapp
server.applications.admingui
server.applications.myApp
Fora more comprehensive example, see “To Use the PetStore Example” on page 199.
Examplesfor the get --user admin-user --monitor Command
Thiscommand retrieves the following monitored information:
Allattribute(s) monitored within a component or subsystem
Specicattribute monitored within a component or subsystem
ViewingMonitoringData
Chapter18 • Monitoring Components and Ser vices 197