xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/j_who_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1In many cases, in order to get interesting or in-depth results the
2ExtendedDTraceProbes flag needs to be set when DTracing Java programs.  In
3this case, because of the probes we have chosen to trace, running the program
4Code/Java/Func_abc, both with (PID 311517) and without (311526) this flag,
5and we can see that it has made no difference, with each reporting 35 lines
6executed.
7
8# j_who.d
9Tracing... 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
18