lkml.org 
[lkml]   [1998]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: How do I ask: How many processes have this file open now?
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.040 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site