Operating System - HP-UX
1834463 Members
2995 Online
110067 Solutions
New Discussion

who/what is using nflocks

 
SOLVED
Go to solution
Ben Thomas
Occasional Advisor

who/what is using nflocks

Is there any way of easily determining which processes are using file locks? We have an HP-UX 11.11 systems in which the nflocks jumped from 10% to 99% and I would like to know why!

-ben-
5 REPLIES 5
RAC_1
Honored Contributor

Re: who/what is using nflocks

check *.lck files.

You may get some idea on that.
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor
Solution

Re: who/what is using nflocks

A. Clay Stephenson
Acclaimed Contributor

Re: who/what is using nflocks

The most straightforward method is to install lsof (available from any of the HP-UX Porting Centre's).

Databasea very commonly use locks and many locks can be in place on the same file.
If it ain't broke, I can fix that.
Ben Thomas
Occasional Advisor

Re: who/what is using nflocks

Thanks. We run lsof, but did not understand the FB column. Help is much appreciated.

-ben-
Ben Thomas
Occasional Advisor

Re: who/what is using nflocks


Hmm. lsof reports 119 file locks, but glance -t shows:
File Locks (nflocks) 2048 1993 97 98
i.e. 1993 locks. I assume the other locks are database record locks.... Is there anyway to also show these at the OS level?