You can obtain information about latches by running onstat
-p or onstat -s.
Monitoring latches with onstat -p
Run onstat -p to obtain the values in the lchwaits field.
This field stores the number of times that a thread was required to
wait for a shared-memory latch.
Monitoring latches with onstat -s
Run onstat -s to obtain general latch information.
The output includes the userthread column, which lists the
address of any user thread that is waiting for a latch.