Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!cedman From: cedman@lynx.ps.uci.edu (Carl Edman) Newsgroups: comp.unix.programmer Subject: Finding out the file locker Message-ID: Date: 27 Sep 90 01:39:50 GMT Distribution: comp Organization: non serviam Lines: 17 Nntp-Posting-Host: lynx.ps.uci.edu I'm using HPUX 7.0 (SysV with quite a bit of BSD, for those who do not know it). How would you find out who has opened a file and has some lock on it ? There are routines which return what locks there are on a file, but I couldn't , even after diligent search of the the friendly man-pages, find any library function which would reveal this function. The closest I came was the SU-command fuser , which would give the desired information. Any way, known to the mighty net-wizards ? Theorectial Physicist,N.:A physicist whose | Send mail existence is postulated, to make the numbers | to balance but who is never actually observed | cedman@golem.ps.uci.edu in the laboratory. | edmanc@uciph0.ps.uci.edu