hotuser 1m "$Date:: 2007-09-24 #$" "USER COMMANDS"
NAME
hotuser - sample on-CPU user-level functions and libraries.
SYNOPSIS
hotuser [-hl] { -c command | -p PID }
DESCRIPTION
This samples the on-CPU function at 1001 Hertz, for a simple yet effective user-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.
OS
Solaris
STABILITY
stable - Written using Perl and DTrace (Solaris 10 03/05)
EXAMPLES

Sample user functions from PID 81, # hotuser -p 81

Sample user libraries from PID 81, # hotuser -lp 81

Sample Xorg, # hotuser `pgrep -n Xorg`

DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
EXIT
hotuser will run until Ctrl-C is hit.
AUTHOR
Brendan Gregg [CA, USA]
SEE ALSO
dtrace(1M), hotkernel(1M)