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

Miquel van Smoorenburg (miquels@cistron.nl)
23 May 1998 15:12:19 +0200


In article <3566BD9C.6F75C793@taylor.digex.net>,
Russell Leighton <leighton@imake.com> wrote:
>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?

Well, this doesn't have anything to do with kernel development so
I really should just ignore this, but I'm in a good mood today :)

fuser (man 1 fuser).

Mike.

-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu