[comp.unix] Is there a "reverse fuser" ?????

pete@bally.Bally.COM (Pete Gregory) (04/13/90)

Hi -

I am looking for a program (to run under AIX) that will tell me which
files are open on a unix system (rather than to tell me which processes
are using a specific file).  Example: sample output might be:

	file/device	PIDs using file/device
	-----------	----------------------
	/dev/null	111 114 117 124 15389
	/dev/rmt0	15389
	/etc/cron	117
	.		.
	.		.
	.		.

...am I naive for asking such a question?  I am a RSTS/E user from waaaaayyy
back, where such a facility was provided by the operating system.  I guess
I'd just like to see which files are open by which processes.  Don't ask me
to do something like this:

	find / -print | xargs fuser

	...because I need to use my computer for other things as well :-)

Thanks in advance.

Pete Gregory   : uucp:   uunet!bally!pete            | 
Software Engr. : domain: pete@bally.bally.com     ---|---
Bally Systems  : phone:  702-323-6156 x882           |         John 3:16
255 Bell St.   : FAX:    702-323-5997                |
Reno, NV 89503                                       |