How determine if a file is opened by another process
The Grey Wolf
greywolf at unisoft.UUCP
Thu Feb 7 04:28:39 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:
>
>>>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 ?
>
> ANSWER: man fuser
>
#ifdef fuser
#define SYSV
While all the world's not BSD, all the world isn't System V, either.
Please don't make assumptions about other people's software.
BSD returns with
No manual entry for fuser
#endif /* fuser */
>
> -------------------------
> | Rick G. Randall |
> | rrandall at zach.fit.edu |
> -------------------------
--
thought: I ain't so damb dumn! | Your brand new kernel just dump core on you
war: Invalid argument | And fsck can't find root inode 2
| Don't worry -- be happy...
...!{ucbvax,acad,uunet,amdahl,pyramid}!unisoft!greywolf
More information about the Comp.unix.questions
mailing list