beautypg.com

Viewing monitoring data, Viewing monitoring data in the admin console, Viewing monitoring data with the asadmin tool – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 193

background image

Viewing Monitoring Data

“Viewing Monitoring Data in the Admin Console” on page 193

“Viewing Monitoring Data With the asadmin Tool” on page 193

Viewing Monitoring Data in the Admin Console

In the developer profile, to view monitoring data, go to Application Server

→ Monitor.

In the cluster and enterprise profiles, to view monitoring data for a stand-alone instance, go to
Stand-Alone Instances

→ Instance → Monitor. To view monitoring data for a clustered

instance, go to Clusters

→ Cluster → Instance → Monitor.

You can select and view monitoring data for JVM, server, applications, thread pools, HTTP
service, transaction service, log statistics, and call flow statistics. See

“About the Tree Structure

of Monitorable Objects” on page 172

.

For details on viewing or configuring monitoring, see the online help available with the Admin
Console.

For more information on the attributes for each component or service, refer to

“About Statistics

for Monitored Components and Services” on page 175

.

Viewing Monitoring Data With the asadmin Tool

This section contains the following topics:

“To Use the asadmin monitor Command to View Monitoring Data” on page 193

“To Use the asadmin get and list Commands to View Monitoring Data” on page 194

“Understanding and Specifying Dotted Names” on page 195

“Examples of the list and get Commands” on page 196

“Examples for the list --user admin-user --monitor Command” on page 197

“Examples for the get --user admin-user --monitor Command” on page 197

“To Use the PetStore Example” on page 199

“Expected Output for list and get Commands at All Levels” on page 202

To Use the asadmin monitor Command to View Monitoring Data

asadmin

has two ways of viewing monitoring data. The first is to use the monitor command.

This command prints out the commonly-monitored statistics, and has options for filtering out
statistics and capture the output in a Comma Separated Values (CSV) file.

To view monitoring data, use the monitor command, and specify the type of monitoring data:
httplistener

, keepalive, filecache, connectionqueue, jdbcpool, jvm, threadpool,

1

Viewing Monitoring Data

Chapter 18 • Monitoring Components and Services

193