[KLUG Members] List Locks?

Adam Tauno Williams members@kalamazoolinux.org
Thu, 27 Sep 2001 08:40:43 -0400 (EDT)


I know how to list the processes using a file (fuser) and how to list the files
a process is using (lsof, /proc/{pid}, etc...)  but is there a way to list the
LOCKS on a file and what pid holds them?  

I've nosed about in /proc and not found anything that looks lock-ish,  but then
I haven't heard of anyone sighting the lockness monster lately either.  Maybe
after all these millions of years ol'nessie finally gave up the ghost? :)

Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW
Grand Rapids, MI. 49505