Record Is Being Updated - Access Denied

Kenneth Brody kenbrody at spamcop.net
Thu Jun 13 07:30:04 PDT 2013


On 6/12/2013 6:16 PM, Dennis Malen wrote:
> That would be great to be able to show who locked the file.
>
> How does one use "showlock".

Easiest way:


     showlock /full/path/to/appl/filepro/filename/key

The output isn't "user friendly", but each line consists of three numbers:

     Starting offset (in hex)
     Length (in hex)
     PID of lock owner (in decimal)

There is a wrapper script (I believe written by Bob Stockler) called 
"lock.info", which takes this output and makes it "user friendly", which I 
believe is run via:

     lock.info filename

> Please be aware that we confirm whenever this occurs that everyone is logged
> out of the system but the record is still locked. Will "showlock" still
> return who locked the file and when? That would be extremely helpful.

It will show the PID that owns the lock.  You can then use "ps -fpNNNN" to 
see what that process is.  The "when" is not something the system keeps 
track of.

-- 
Kenneth Brody


More information about the Filepro-list mailing list