Use the -s option to display general latch information.
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 03:57:17 -- 15360 Kbytes Latches with lock or userthread set name address lock wait userthread
You can interpret output from this option as follows:
This address appears in the -u (users) output wait field if a thread is waiting for the latch.
The codes that indicate the lock status (1 or 0) are computer dependent.
Instead this field contains the thread-control block address, which all threads have. You can compare this address with the user addresses in the onstat -u output to obtain the user-process identification number.
To obtain the rstcb address from the tcb address, examine the output of the onstat -g ath option, which lists both addresses for each user thread.