Identifying Users of Mounted File-Systems

2007-12-25 8:50:00

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

Comments

Got something to say?

You must be logged in to post a comment.