dla subcommand
The dla subcommand checks the system for deadlocks and displays details about threads waiting for locks.
Note: The dla subcommand is only available
with the kdb command.
Format
dla [ { -p [cpu] } | tid ]
Parameters
Item | Description |
---|---|
-p | Reports only on the locks waited on by the specified processor. If no processor is specified, reports on all of the processors. |
cpu | Specifies the cpu number. |
tid | Report on locks waited on by the thread specified by this thread identifier. |
If no arguments are given, the dla subcommand analyzes the system for deadlocks. The dla subcommand also shows details on any thread waiting for a lock.
Other
No aliases.
Examples
The following is an example of how to use the dla subcommand:
(0)> dla
No deadlock, but chain from tid 42C5, that waits for the first line lock,
owned by Owner-Id that waits for the next line lock, and so on ...
LOCK NAME | ADDRESS | OWNER-ID | LOCK STATUS | WAITING FUNC
ptrace_lock | 0x00000000006E9898 | Tid 1B37 | 0x20000000 | slock_ppc
No deadlock, but chain from tid 53AF, that waits for the first line lock,
owned by Owner-Id that waits for the next line lock, and so on ...
LOCK NAME | ADDRESS | OWNER-ID | LOCK STATUS | WAITING FUNC
ptrace_lock | 0x00000000006E9898 | Tid 1B37 | 0x20000000 | slock_ppc
No deadlock found
(0)> dla 42C5
No deadlock, but chain from tid 42C5, that waits for the first line lock,
owned by Owner-Id that waits for the next line lock, and so on ...
LOCK NAME | ADDRESS | OWNER-ID | LOCK STATUS | WAITING FUNC
ptrace_lock | 0x00000000006E9898 | Tid 1B37 | 0x20000000 | slock_ppc
No locks waited on for thread EA002100
(0)> dla -p 0
No locks being waited on for processor 0
(0)> dla -p
No deadlock found