* Re: Finding who is locking an RMS record
1998-02-16 5:00 Finding who is locking an RMS record TSnyder
@ 1998-02-17 5:00 ` Hoff Hoffman
0 siblings, 0 replies; 2+ messages in thread
From: Hoff Hoffman @ 1998-02-17 5:00 UTC (permalink / raw)
In article <34e97677.71395834@news.cstone.net>, tsnyder@no_spam.org (TSnyder) writes:
:Is there a utility that can determine what process is locking a
:specific RMS record? DEC has only provided me with a poor DCL
:procedure to do this. I'm sure there must be a hack somewhere that
:does this, as it's a probledm that most users encounter at some point
:using OpenVMS. Frankly, I'm very surprised DEC doesn't have such a
:utility built into the operating system.
Uh, we do. It's called DECamds. :-)
DECamds is quite powerful, and is quite capable of locating which
process in a VMScluster is holding a lock, which disks are overly
busy, what resources are lacking, which quotas have caused a process
to deadlock, or any of a number of other common tasks. In the case
of locks, DECamds looks at all locks and all locking activity, not
just at the locks specific to RMS and XQP activity...
If you have not installed and configured DECamds, you will want to.
DECamds is installed seperately, is licensed with OpenVMS, and is
included on the V6.1 and later distribution kits.
Information on specific lock resource names used by RMS is available
in the Internals and Data Structures Manuals, as well as in the _VMS
File System Internals_ manual. (Most of the time, RMS deadlocks are
quite obvious.) In most cases, an RMS file deadlock should be pretty
obvious in the DECamds display, just by the process(es) involved...
And you can use SET FILE/STATISTICS and MONITOR RMS/FILE to monitor
the activity on the specified file -- this can look at file locking
activity (in general, not at specific record locks), at data rates,
at caching effectiveness, and at general operations.
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com
note to those folks not contributing spam -- there is no ZZ in my address
^ permalink raw reply [flat|nested] 2+ messages in thread