Open files by users?

Theodore Hope hope at gatech.CSNET
Fri Aug 15 05:13:10 AEST 1986


In article <157 at mipos3.UUCP> mike at mipos3.UUCP (Michael Bruck) writes:
>How can one tell which users have what files open?  I essentially need
>to see if a particular file is open and by whom.

The 'fuser' program on System V does this kind of thing.  It's SLOW, but
better than nothing.  It crawls around the inode tables, etc, and that's 
what you'll have to do if you want to write one yourself.

-- 
Theodore Hope
School of Information & Computer Science, Georgia Tech, Atlanta GA 30332
CSNet:	hope at gatech		ARPA:	Hope%GATech.CSNet @ CSNet-Relay.ARPA
uucp:	...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-sally}!gatech!hope



More information about the Comp.unix.wizards mailing list