xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/j_thread_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1Following we see examples of the results of running j_thread.d.
2
3Here it is running while Code/Java/Func_abc is executing.
4
5# j_thread.d
6TIME                     PID/TID   -- THREAD
72007 Sep 24 04:01:34  311512/5     => Finalizer
82007 Sep 24 04:01:34  311512/4     => Reference Handler
92007 Sep 24 04:01:34  311512/7     => CompilerThread0
102007 Sep 24 04:01:34  311512/6     => Signal Dispatcher
112007 Sep 24 04:01:34  311512/8     => CompilerThread1
122007 Sep 24 04:01:34  311512/9     => Low Memory Detector
13^C
14
15The fields of the output are, in order, Event time, Process ID/Thread ID,
16entry (=>) or exit (<=) and Thread name.
17
18In this example we see six different threads starting, but we do not see
19thread exit events as the JVM exited when the program stopped.
20
21