Examples for the list --user admin-user --monitor Command
The
list
command provides information about the application components and subsystems
currently being monitored for the specified server instance name. Using this command, you can
see the monitorable components and subcomponents for a server instance. For a more
complete listing of
list
examples, see
“Expected Output for list and get Commands at All
Levels” on page 202
.
Example 1
asadmin> list --user
admin-user
--monitor server
The preceding command returns a list of application components and subsystems that have
monitoring enabled, for example:
server.resources
server.orb
server.jvm
server.jms-service
server.connector-service
server.applications
server.http-service
server.thread-pools
It is also possible to list applications that are currently monitored in the specified server
instance. This is useful when particular monitoring statistics are sought from an application
using the
get
command.
Example 2
asadmin> list --user
admin-user
--monitor server.applications
Returns:
server.applications.adminapp
server.applications.admingui
server.applications.myApp
For a more comprehensive example, see
“To Use the PetStore Example” on page 199
.
Examples for the get --user admin-user --monitor Command
This command retrieves the following monitored information:
■
All attribute(s) monitored within a component or subsystem
■
Specific attribute monitored within a component or subsystem
Viewing Monitoring Data
Chapter 18 • Monitoring Components and Services
197
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...