]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/j_who_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / j_who_example.txt
1 In many cases, in order to get interesting or in-depth results the 
2 ExtendedDTraceProbes flag needs to be set when DTracing Java programs.  In
3 this case, because of the probes we have chosen to trace, running the program
4 Code/Java/Func_abc, both with (PID 311517) and without (311526) this flag, 
5 and we can see that it has made no difference, with each reporting 35 lines 
6 executed.
7
8 # j_who.d
9 Tracing... Hit Ctrl-C to end.
10 ^C
11       PID    UID  CALLS ARGS                                                   
12    194441    100     18 /usr/local/lib/opera/9.02-20060919.1/opera
13    309790    100     20 java_vm
14    311517    100     35 java -XX:+ExtendedDTraceProbes Func_abc
15    311526    100     35 java Func_abc
16
17