lq subcommand
The lq subcommand displays information about threads waiting on a lock.
Format
lq [ bucket | effectiveaddress ]
Parameters
| Item | Description |
|---|---|
| bucket | Displays information about a thread in the specified lock queue bucket. |
| effectiveaddress | Displays information about a thread in the lock queue bucket that is specified by the effective address. |
When run without any parameters, this subcommand displays a list of all threads which are currently waiting on some lock. With a parameter, the subcommand displays information about a waiting thread in a specific lock queue bucket.
Other
lockq
Examples
The following is an example of how to use the lq subcommand:
KDB(0)> lq
BUCKET HEAD COUNT
slist_table+0007E0 253 pvthread+003000 1
KDB(0)> lq 253 (lock queue bucket from the previous command)
SLIST_TABLE ENTRY(253): slist_table+0007E0
SLOT NAME STATE TID PRI RQ CPUID CL WCHAN
pvthread+003000 96*v3fshelp SLEEP 006023 03E 2 0 inodes+3F48A64 slis
t_table+0007E0
KDB(0)>