Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!hsdndev!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.programmer Subject: Re: Checking if a process opened a file Message-ID: <29122:Apr701:53:2191@kramden.acf.nyu.edu> Date: 7 Apr 91 01:53:21 GMT References: <7794@idunno.Princeton.EDU> Organization: IR Lines: 12 In article <7794@idunno.Princeton.EDU> subbarao@phoenix.Princeton.EDU (Kartik Subbarao) writes: > There is a command ofiles to determine who has a given file open, but I'm > not sure that this works across NFS The version from comp.sources.unix volume 18 does not support NFS, but there are other versions of ofiles running around that do. Sometime in the near future I will make my kstuff package available. Included in kstuff is pf, a more portable, hopefully easier-to-use, integrated version of ofiles/fstat; pf works over NFS, though there's no way to tell that a process on some other machine has a file open. ---Dan