help on unix file reference count
Albert Hirawan
albert at ee.su.oz.au
Mon Sep 10 16:51:13 AEST 1990
I am writing a software that requires to find out about a file's reference
count (i.e. the number of times it is being opened by processes at a
particular time). Stat() and fstat() are not the solution as they only tell you
about the number of hardlinks.
Is there a system call that I can use to get this file reference count
information? Do I have to modify the kernel and add a new system call? I would
rather not touch the kernel if I can help it such as by using a few system
calls (what are they, though?) to accomplish the task.
Please send me email (albert at ee.su.oz.au) if you can help.
A million thanks.
-------------------------------------------------------------------------------
Albert Hirawan
Faculty of Electrical Engineering
University of Sydney
N.S.W. 2006
AUSTRALIA
email: albert at ee.su.oz.au
-------------------------------------------------------------------------------
More information about the Comp.unix.internals
mailing list