onstat -g amx All Mutexes

The onstat -g amx command displays all mutexes.

Locked mutexes:                                                               
mid      addr     name               holder   lkcnt  waiter   waittime        
4976     14256468 uselock0           213      0                               

Output Description

Heading Description Format
mid The internal mutex identifier Dec
addr Address of the locked mutex Hex
name Name of the mutex Str
holder The session ID of the thread holding the mutex. Dec
lkcnt The number of waiters for this same mutex Dec
waiter A list of the addresses waiting for this mutex. Dec
waittime The amount of time in seconds this thread has been waiting. Dec