Getting share modes for a PID
Michael Glauche
glauche at plum.de
Tue Sep 7 18:32:54 GMT 1999
Hi,
I am trying to find a way to get the number of open/locked files for a
given PID. I did take a closer look at share_mode_forall, but I have
some problems with it : When I write some function to be passed on to
share_mode_forall, I cant't pass the PID, and I can't get the count
without introducing global variables, which are a bad thing :).
Is there some easier way, or do I just need to write some additional
code to locking_shm.c and locking_slow.c ?
TIA,
Michael
--
Half the lies they tell me aren't true. --Yogi Berra
More information about the samba-technical
mailing list