hotkernel - sample on-CPU kernel-level functions and modules.
This samples the on-CPU function at 1001 Hertz, for a simple yet effective
kernel-level profiling tool for sampling exclusive function time. The output
will identify which function is on the CPU the most - which is the hottest.
See Notes/ALLexclusive_notes.txt for an explanation of exclusive time.
stable - Written using Perl and DTrace (Solaris 10 03/05)
- Sample kernel functions,
- # hotkernel
- Sample kernel modules,
- # hotkernel -m
See the DTraceToolkit for further documentation under the Docs directory. The
DTraceToolkit docs may include full worked examples with verbose descriptions
explaining the output.
hotkernel will run until Ctrl-C is hit.
Brendan Gregg [CA, USA]