We have prepared a set of probes to help investigating typical problems. The probes are ready to use out-of-the-box. Also you can use them as good examples to start with should you decide creating custom probes.
The following built-in probes are available at the moment:
-
Threads:
- com.yourkit.probes.builtin.Threads - monitor thread creation, start, name change
-
Processes:
- com.yourkit.probes.builtin.Processes - monitor launched processes
-
Class loading:
- Class loading - monitor class load and unload events
-
File I/O:
- com.yourkit.probes.builtin.FileStreams - monitor file stream-based I/O operations
- com.yourkit.probes.builtin.FileChannels - monitor file NIO channel-based operations
- com.yourkit.probes.builtin.RandomAccessFiles - monitor
java.io.RandomAccessFileI/O operations
-
Socket I/O:
- com.yourkit.probes.builtin.Sockets - monitor socket I/O operations
-
Database:
- com.yourkit.probes.builtin.Databases - monitor JDBC/SQL activity
-
JSP/Servlet:
- com.yourkit.probes.builtin.Servlets - monitor JSP/Servlet request processing
-
Other:
- com.yourkit.probes.builtin.JUnitTests - monitor execution of JUnit tests
- com.yourkit.probes.builtin.AWTEvents - record long AWT/Swing events, which cause UI irresponsiveness
Also, package com.yourkit.probes.builtin contains classes which are not probe classes nor contain probe classes,
but instead provide some useful functionality:
- com.yourkit.probes.builtin.Messages - provides utility method to log arbitrary text messages
Registering built-in probes
Use the following startup options to control which built-in probes should be registered on startup:
-
builtinprobes=all- all built-in probes (default behavior) -
builtinprobes=none- none of the built-in probes
To register particular probe(s) only, use the following sequence:
builtinprobes=none,probe=class_A[,probe=class_B...]
Note that for the built-in probes you do not have to specify class path with
probeclasspath or probebootclasspath options.
The profiler agent contains the built-in probe classes and handles their loading.
You can also register built-in probes by name in runtime with the help of the API. Read more...
