NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
SHOW LOCKS
NonStop NET/MASTER MS Commands
2–340 115412 Tandem Computers Incorporated
SHOW LOCKS The SHOW LOCKS command displays the current status of resource locks. The main
use of the SHOW LOCKS command is to determine conflicts between two or more
cooperating NCL processes that are waiting for a certain resource to become available.
A lock is a logical resource, identified by a primary name and an optional minor
name, established by an NCL process using the LOCK verb. The type of lock used by
NCL is called an advisory lock. It does not physically lock a resource; rather it advises
an inquiring NCL process whether the resource is available. Each resource may be
held exclusively by a single NCL process or shared between NCL processes.
Entering the SHOW LOCKS command with no operands displays information about
all locks.
SHOW LOCKS [
lock-option
]
lock-option
:
[ CLASS={ ALL | NCL | SYS } ]
[ LIST={ ALL | WAIT } ]
[ PNAME=
primary-name
]
[ MNAME=
minor-name
]
[ TEXT=
text
]
lock-option
specifies the lock(s) about which to display information.
CLASS
specifies the class of locks about which to display information.
ALL
displays information about system locks and NCL locks.
NCL
displays information about NCL locks only.
SYS
displays information about system locks only.
LIST
specifies the list of locks about which to display information.
ALL
displays information about all locks.