🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #884

Finding out the file locker

#884
From: Carl Edman
Date: Thu, 27 Sep 1990 01:39
17 lines
1137 bytes
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
Technical Details
Message-ID: <CEDMAN.90Sep26183949@lynx.ps.uci.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!cedman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <CEDMAN.90Sep26183949@lynx.ps.uci.edu>
Date: 27 Sep 90 01:39:50 GMT
Distribution: comp
Organization: non serviam
Lines: 17
Nntp-Posting-Host: lynx.ps.uci.edu