Tools to see locks?

2007-12-25 10:59:00

Hello everyone,

A few days ago, I wrote:

>A (hopefully) quick question: we're experiencing some difficulties with NFS

>locking sometimes, well, locking indefinitely. I'm talking about fctl( FD,

>F_SETLKW, .. ), on a set of Solaris 2.4 and (possibly) 2.5.1 boxes.

>

>If so, is there a utility one can use to SEE the set of all processes with

>locks or waiting for locks on a specific inode? I haven't found one so far..

>

>Please reply to me, and I'll gladly summarise to the list..

Thanks to several people, including:

Shriman Gurung <shriman@venus.co.uk>

Sun System Admin <sysadm@its.brooklyn.cuny.edu>

Chris Phillips <chris@scooter.Canada.Sun.COM>

"Avrami, Louis" <L.Avrami@dialogic.com>

Mark Henderson <mch@squirrel.com>

I can do no better than quote Chris Phillips, who succinctly said:

>Check out:

> ftp://vic.cc.purdue.edu/pub/tools/unix/lslk

>(I've not used it but I think its the tool you're looking for.)

>

>Chris

Thanks to everyone for their help..

cheers

duncan

Comments

Got something to say?

You must be logged in to post a comment.