The following example shows a command procedure that can be used
for gathering spinlock statistics:
$ analyze/system
spl load
spl start trace/buffer=1000
wait 00:00:15
spl stop trace
read/executive/nolog
set output spl_trace.lis
spl analyze
spl show trace/summary
spl start collect/spin=sched
wait 00:00:05
spl show collect
spl start collect/spin=iolock8
wait 00:00:05
spl show collect
spl start collect/spin=lckmgr
wait 00:00:05
spl show collect
spl start collect/spin=mmg
wait 00:00:05
spl show collect
spl start collect/spin=timer
wait 00:00:05
spl show collect
spl start collect/spin=mailbox
wait 00:00:05
spl show collect
spl start collect/spin=perfmon
wait 00:00:05
spl show collect
spl stop collect
spl unload
exit
$ exit
A more comprehensive procedure is provided as
SYS$EXAMPLES:SPL.COM.