NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
SHOW LOCKS
NonStop NET/MASTER MS Commands
2–342 115412 Tandem Computers Incorporated
Considerations
The default authority level of this command is 0.
You can enter this command from any NCL procedure, including the INIT NCL
procedure, by using either the CMD core statement or the INTCMD verb.
Messages NNM1064 through NNM1071 and message NNM0999 indicate the
results of this command. Refer to the NonStop NET/MASTER Messages Manual or
NonStop NET/MASTER MS online help for a description of these messages.
This command provides a display of the status of the various classes of logical
locks that may be held in the system. Different classes of locks are held by internal
processes (SYS) or by NCL procedures (NCL).
Each resource may also have a text value associated with it. This value, used by
NCL lock processing, usually identifies the current holder of the lock and may be
queried by other NCL procedures which are competing for the same resource.
For related information, see the PURGE LOCK command.
Examples
1. The following example displays information about all locks. The following screen
displays the results.
SHOW LOCKS
(08:06) --------------------- OPERATOR CONTROL SERVICES ----------------------
SHOW LOCKS
NNM1065 NCL CLASS LOCKS
NNM1067 PRIMARY NAME RESOURCE C
NNM1068 LOCK-ID REQ LOCK-TEXT MINOR-LOCK
NNM1069 750003 EXCL PNAME=C
NNM1071 WAITING LOCK REQUESTS
NNM1069 750004 EXCL PNAME=C REC1
NNM1067 MINOR NAME RESOURCE FILEA.RECA
NNM1068 LOCK-ID REQ LOCK-TEXT
NNM1069 750006 EXCL PNAME=FILEA MNAME=RECA
NNM1067 MINOR NAME RESOURCE FILEB.RECB
NNM1068 LOCK-ID REQ LOCK-TEXT
NNM1069 750007 EXCL PNAME=FILEB MNAME=RECB
NNM1067 MINOR NAME RESOURCE \SYS1.$S.#FAST
NNM1068 LOCK-ID REQ LOCK-TEXT
NNM1069 750008 SHR NNMJS TLOCK2 08:06:04
NNM1069 750009 SHR NNMJS TLOCK1 08:05:51
NNM1067 MINOR NAME RESOURCE \SYS1.$S.#SLOW
NNM1068 LOCK-ID REQ LOCK-TEXT
NNM1069 750010 EXCL NNMJS TLOCK1 08:05:50
NNM0999 *END*
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
PM=>