Performance Metric kcml.native.lock

Summary

Native file lock

Send Condition

$OPEN

Overview

Reports the status of a native file lock using $OPEN. The time taken to obtain the lock and the owner, if locked by another partition, can be used to identify the impact of application code that is enforcing exclusive access.

Statistics

NameTypeDescription
filestringFile name
handlenumFile handle
devicestring$DEVICE address
waittimenumNumber of micro-seconds spent waiting for the lock
lockednumDid the lock succeed
ownerpidnumProcess ID of the lock owner
ownerpartnumPartition number of the lock owner
owneruuidstringUUID of the lock owner. Blank if $PSTAT is not wide enough

Config

NameDescription
lockwaitalertIf a lock takes longer than this timeout (in seconds) then issue a kcml.native.lock

General Form

kcml.native.lock,file=string,handle=num,device=string,waittime=num,locked=num,ownerpid=num,ownerpart=num,owneruuid=string

See Also:

Performance Metrics