Or more painfully fuser.

fuser -cu on a mount point will show which processes have stuff open under
the mount.

fuser -u on a file will show what processes have the file open.

Now if only there were true acl's and auditing under linux...

-----Original Message-----
From: R P Herrold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: find out what files are open on the system


On 2 Apr 2002, Alan E Derhaag wrote:

> Is there a function that will allow me to see what files are presently
> open on the system?  I suppose I could generate a script that would
> query the /proc filesystem for all processes but I should think that
> there could be another interface than that or 'fuser'.

  lsof  ?





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to