onstat -g rwm Print read and write mutexes
The onstat -g rwm displays information about read, write, and waiting mutex threads, and to list the addresses of the tickets that these threads have acquired.
Read/Write Mutexes:
MUTEX NAME write/read/wait tcb lists
0xd14064f0 DBA_usr_lst
0xd1406458 DBA_usr_lst
0xd1283cb0 Sysdbproc_usrcache
0xd1283e70 DBA_usr_lst
<address> <name> first mutex
Writer ticket = <ticket address> tcb=<thread address> <thread name>
Readers ticket = <ticket address> tcb=<thread address> <thread name>
Waiters ticket = <ticket address> tcb=<thread address> <thread name>
<address> <name> second mutex
Writer ticket = <ticket address> tcb=<thread address> <thread name>
Readers ticket = <ticket address> tcb=<thread address> <thread name>
Waiters ticket = <ticket address> tcb=<thread address> <thread name>
.....
</div>
| Heading | Description | Format | See Also |
|---|---|---|---|
| Mutex | Name of the Mutex | str | |
| write | List of write threads | Str | |
| read | List of read threads | Str | |
| wait | List of wait threads | Str | |
| ticket | Address of the ticket acquired by the thread | Dec | |
| tcb list | The thread address and name | Dec/Str |