Anotherexample, application, is a valid monitorable object type and is not a singleton. To
addressa non-singleton child node representing, for example, the application PetStore, the
dottedname is:
server.applications.petstore
Thedotted names can also address specic attributes in monitorable objects. For example,
http-servicehas a monitorable attribute called bytesreceived-lastsampletime. The
followingname addresses the bytesreceived attribute:
server.http-service.server.http-listener-1.
bytesreceived-lastsampletime
Theadministrator is not expected to know the valid dotted names for asadmin list and get
commands.The list command displays available monitorable objects, while the get
commandused with a wildcard parameter allows the inspection of all available attributes on
anymonitorable object.
Theunderlying assumptions for using the list and get commands with dotted names are:
Anylist command that has a dotted name that is not followed by a wildcard (*) gets as its
resultthe current node’s immediate children. For example, list --user adminuser
--monitorserver lists all immediate children belonging to the server node.
Anylist command that has a dotted name followed by a wildcard of the form .* gets as its
resulta hierarchical tree of children nodes from the current node. For example, list
--useradminuser --monitor server.applications.* lists all children of applications
andtheir subsequent child nodes and so on.
Anylist command that has a dotted name preceded or followed by a wildcard of the form
*dottednameor dotted * name or dotted name * gets as its result all nodes and their children
matchingthe regular expression created by the provided matching pattern.
Agetcommand followed by a .* or a *gets as its result the set of attributes and their values
belongingto the current node to be matched.
Formore information, read “Expected Output for list and get Commands at All Levels” on
page202.
Examplesof the list and get Commands
Thissection contains the following topics:
“Examplesfor the list --user admin-user --monitor Command” on page 197
“Examplesfor the get --user admin-user --monitor Command” on page 197
ViewingMonitoringData
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 2008196