Starting with Data ONTAP 8.1.1 and later releases in the 8.1 release family, you can monitor and display information about durable handles using the lock status command.
Durable handle states seen in the durable_state field include the following:
The durable_state field displays information about durable handles and the oplock field displays information on durable handles if lease oplocks are present.
The following command displays lock information about CIFS durable handle locks, including information about durable handles with lease oplock locks:
lock status -p cifs CIFS path=\(/vol/vol1/) host=10.0.0.2(WIN1) owner=administrator state=GRANTED mode=Read-denyN oplock=None durable_state=DH_NONE fsid=0x1eea09f9 fileid=0x00000040 CIFS path=\sample.txt(/vol/vol1/sample.txt) host=10.0.0.2(WIN1) owner=administrator state=GRANTED mode=RdWr-denyN oplock=None durable_state=DH_GRANTED fsid=0x1eea09f9 fileid=0x00000060 CIFS path= host=10.0.0.2(WIN1) owner= state=GRANTED mode=None-denyN oplock=Lease-None durable_state= sid=0x1eea09f9 fileid=0x00000060