Monitoring latches with SMI tables

You can query the sysprofile SMI table to obtain the number of times a thread waited for a latch.

About this task

The latchwts column of the sysprofile table contains the number of times that a thread waited for a latch.