Lists item locks and processes that are currently waiting for release of item locks.
SHOW-ITEM-LOCKS {(options}
m{-n} specifies the range of port numbers of ports that have locked items. The number m is the start of the range; n is the end number of the range. If no port numbers are specified, all locked items and processes are displayed.
H Suppress default heading line.
N Suppress automatic paging.
P Send report to the printer assigned to your port.
The information is displayed under the following headings:
Heading | Description |
---|---|
Port | Number of the port currently accessing or waiting to access the item or process. If there is also a number in the by# column, the port is waiting for access to the item. |
lock# | System number (hexadecimal) of the lock on the accessed item or process. |
by# | Number of the port that has locked the item or process, if any. |
In this example, port 404 is waiting for an item locked by port 401. The other ports are not waiting.
:SHOW-ITEM-LOCKS
Port lock#........... by#
401 00002D1100DA53B7 ----
403 00002D1100B5D14F ----
404 00002D1100DA53B7 401
405 00002D11000195EF ----
In this example, only the specified port number is displayed.
:SHOW-ITEM-LOCKS (404
Port lock#........... by#
404 00002D1100DA53B7 401
In this example, only the specified range of port numbers is displayed.
:SHOW-ITEM-LOCKS (401-403
Port lock#........... by#
401 00002D1100DA53B7 ----
403 00002D1100B5D14F ----