Sun-microsystems GLASSFISH ENTERPRISE 820433510 Manual de usuario Pagina 194

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 193
servlet, connection, connectorpool, endpoint, entitybean, messagedriven,
statefulsession, statelesssession, httpservice,orwebmodule.
For example, to view data for jvm on server, enter the following:
asadmin>monitor --type jvm --user adminuser server
JVM Monitoring
UpTime(ms) HeapSize(bytes)
current min max low high count
327142979 0 531628032 0 45940736 45940736
To view monitoring data and send the output to a CSV le, use the lename option. For
example:
asadmin> monitor --type jvm --filename myoutputfile --user adminuser server
To Use the asadmin get and list Commands toView Monitoring Data
The monitor command is useful in most situations. However, it does not oer the complete list
of all monitorable objects. To view all monitorable data using the asadmin tool, use the asadmin
list and asadmin get commands followed by the dotted name of a monitorable object, as
follows.
To view the names of the objects that can be monitored, use the asadmin list command.
For example, to view a list of application components and subsystems that have monitoring
enable for the server instance, type the following command in a terminal window:
asadmin> list --user adminuser --monitor server
The preceding command returns a list of application components and subsystems that have
monitoring enabled, for example:
server.resources
server.connector-service
server.orb
server.jms-service
server.jvm
server.applications
server.http-service
server.sip-service
server.thread-pools
For further examples using the list 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
list command, refer to
“Understanding and Specifying Dotted Names” on page 195.
2
1
Viewing Monitoring Data
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008194
Vista de pagina 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 255 256

Comentarios a estos manuales

Sin comentarios