I am unable to list the locks associated with a process and information about the locks i.e How many threads share this lock etc.
Kindly tell my how to extract this information from a process ID.
I have run
sysbench --test=threads --thread-locks=100 --max-time=20s run
I want to list locks that sysbench just created and information about the locks i.e which threads the sharing this lock etc?