SUMMARY: Identifying Users of Mounted File-Systems

From: Bert Robbins (brobbins@newbridge.com)
Date: Fri Jan 20 1995 - 00:45:03 CST


I asked:

> I remember recently, last couple of months, about a program that
> will display the process that are actively using a file system.
>
> Can anybody point me to the program?

Too many to list responded:

lsof
fuser
ofiles
showmount

"lsof" won, I got if from vic.cc.purdue.edu, version 3.16_W. I
configured it for SunOS 4.1.3 and compiled with no errors and
executed as described. I also configured it for Solaris and
it compiled and executed also.

fuser just prints out minimal information, you can take the PIDs
and do more grep'ing and stuff to get information that is almost
as good as lsof.

ofiles, I downloaded it and attempted to compile for Solaris, it
barfed so I forgot about it.

showmount just gives you names of who has mounted your file-systems
not who has what files opened and what process they are running.

--
Bert Robbins                             Newbridge Networks Inc.
brobbins@newbridge.com                   593 Herndon Pwky
703 708-5949                             Herndon, VA 22070



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT