onstat -g wmx command: Print all mutexes with waiters
Use the onstat -g wmx command to display all of the mutexes with waiters.
Example output
Output description
- mid
- Internal mutex identifier
- addr
- Address of locked mutex
- name
- Name of the mutex
- holder
- Thread ID of the thread that is holding the mutex
- lkcnt
- 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.
- waiter
- List of IDs of the threads that are waiting for this mutex
- waittime
- Amount of time in seconds that the thread is waiting