If you define the logical show$debug to any value (e.g. $define show$debug hurz) the output of the $show device command will contain information on locks for disk devices, e.g:
$ define show$debug hurz
$ show device dkb0
Locks queued to device lock "SYS$_GRINGO$DKB0:":
- Lock 42000FDB, length of items 00180030, $ENQ status 00000001, value bloc
k 00000000 00000000 00000000 00000019
- LOCKID PID SYSID (node) REMLKID REMSYSID RQMODE
GRMODE STATE
- 42000FDB 202001A4 00010001 (GRINGO) 42000FDB 00010001 (GRINGO) 00
00 01 [ NL / NL / GRANTED ]
- 050001F6 00000000 00010001 (GRINGO) 050001F6 00010001 (GRINGO) 04
01 01 [ PW / CR / GRANTED ]
Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
GRINGO$DKB0: Mounted 0 BIG_ONE 4629897 89 1

Comments to: Martin P.J. Zinser
Last modified: 20020628