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.
You can compare this address with the user addresses in the onstat -u output to obtain the user-process identification number.
onstat -s output shows
sample onstat -s output.