Re: How do I ask: How many processes have this file open now?

David Woodhouse (
Sat, 23 May 1998 14:49:11 +0200 said:
> Is there a system call for a user program that will, given a filename
> (or fd), return the number of processes with that file open?

fuser(1) does it by parsing all the cwd, fd, maps etc. entries in /proc

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
finger for PGP key.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to