onstat -g lmx command: Print all locked mutexes
Use the onstat -g lmx command to display information about all locked mutexes.
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