How determine if a file is opened by another process
Peter Craft
craft at uts.amdahl.com
Tue Feb 5 13:06:40 AEST 1991
In article <1969 at winnie.fit.edu>, rrandall at zach.fit.edu (Rick Randall) writes:
> In article <1991Jan29.204403.6071 at rick.doc.ca> andrew at calvin.doc.ca (Andrew Patrick) writes:
> >In article <1488 at nixsin.UUCP> koerber.sin at nixdorf.com writes:
> >
> >>I want to find out, whether any process has opened a file, of which I only
> >>Could anyone pls give me a hint ?. Maybe it's in a table in the kernel ?
> >
> >I need to know this too!
> >
>
> ANSWER: man fuser
fuser will give you the PID's which have a particular file open.
Does anyone know of a similar facility which will list the files that
a particular process has open. If not, does anyone have any simple
suggestions on how to accomplish this task, (short of formatting the
user structure..).
Pete
craft at uts.amdahl.com
More information about the Comp.unix.questions
mailing list