uthreads(8) | System Manager's Manual | uthreads(8) |
uthreads, cthreads, javathreads - Trace thread creation events in Java or pthreads.
cthreads [-h] [-v] pid javathreads [-h] [-v] pid uthreads [-h] [-l {c,java,none}] [-v] pid
This traces thread creation events in Java processes, or pthread creation events in any process. When a thread is created, its name or start address is printed.
Since this uses BPF, only the root user can use this tool.
CONFIG_BPF and bcc.
Thread start and stop events are usually not very frequent, which makes this tool's overhead negligible.
This is from bcc.
Also look in the bcc distribution for a companion _example.txt file containing example usage, output, and commentary for this tool.
Linux
Unstable - in development.
Sasha Goldshtein
2018-10-09 | USER COMMANDS |