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

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