Sun GlassFish Enterprise Manager DTrace Monitoring 3.0 Beta Installation and Quick Start Guide

Obtaining Information About Enterprise Server DTrace Probes

Information about Enterprise Server DTrace probes enables you to determine the DTrace probes to use for monitoring the aspects of Enterprise Server performance that are of interest to you.

You can obtain information about Enterprise Server DTrace probes by using the following software:

Using DTrace to Obtain Information About Enterprise Server DTrace Probes

You can obtain information about Enterprise Server DTrace probes by using the dtrace command with appropriate options to list the probes that are of interest to you.


Example 1 Listing All Enterprise Server DTrace Probes

This examples uses the -l option and the -P option of the dtrace command to list all Enterprise Server DTrace probes.

In this example, the process ID of the Enterprise Server process is 755.

For better readability, the spacing between columns is reduced and some probes that would listed by this example are not shown.


# /usr/sbin/dtrace -l -P glassfish\*
   ID   PROVIDER        MODULE            FUNCTION NAME
40518 glassfish755        kernel         thread-pool threadReleasedEvent
40519 glassfish755        kernel         thread-pool maxNumberOfThreadsReachedEvent
40520 glassfish755        kernel         thread-pool threadAllocatedEvent
40521 glassfish755        kernel         thread-pool setCoreThreadsEvent
40522 glassfish755        kernel         thread-pool threadReturnedToPoolEvent
...
40637 glassfish755           jca     connection-pool incrementNumConnFreeEvent
40638 glassfish755           orb   inboundconnection inboundConnectionClosed
40639 glassfish755           orb   inboundconnection inboundConnectionOpened
40640 glassfish755           orb  outboundconnection outboundConnectionClosed
40641 glassfish755           orb  outboundconnection outboundConnectionOpened
40786 glassfish755      security                 ejb policyDestructionEvent
40787 glassfish755      security                 ejb securityManagerCreationEvent
40788 glassfish755      security                 ejb securityManagerDestructionEvent
40789 glassfish755        jersey       server-hidden requestEnd
40790 glassfish755        jersey       server-hidden ruleAccept
40791 glassfish755        jersey       server-hidden requestStart

Using Monitoring Scripting Client to Obtain Information About Enterprise Server DTrace Probes

If you have installed Monitoring Scripting Client, you can obtain detailed information about each Enterprise Server DTrace probe. This information includes a description of the probe, an explanation of what causes the probe to be fired, and a description of the probe's parameters. This information is not available through standard DTrace tools.

For more information, see the following sections in Sun GlassFish Enterprise Manager Monitoring Scripting Client 3.0 Installation and Quick Start Guide: