onstat -g wmx command: Print all mutexes with waiters

Use the onstat -g wmx command to display all of the mutexes with waiters.

Read syntax diagramSkip visual syntax diagram

>>-onstat-- -g--wmx--------------------------------------------><

Example output

Figure 1. onstat -g wmx command output
Mutexes with waiters:
mid      addr             name               holder   lkcnt  waiter   waittime
134825   7000002043a9148  free_lock          11009    0      200      22921   
                                                             11010    22918   

Output description

Internal mutex identifier
Address of locked mutex
Name of the mutex
Thread ID of the thread that is holding the mutex
0 = The read/write mutex is held in shared mode
For a read/write mutex, the current number of threads that are locking the mutex in shared mode. For a relockable mutex, the number of times the mutex was locked or relocked by the thread that is holding the mutex.
List of IDs of the threads that are waiting for this mutex
Amount of time in seconds that the thread is waiting

Copyright© 2018 HCL Technologies Limited