On Mon, Feb 07, 2000 at 10:17:53AM -0600, [EMAIL PROTECTED] wrote:
> Q2: After java jni loads a .so file, how can I find the number of links to
> the .so file from a command line command and a lib call?
I think you're asking: who has the .so open... true?
The only way I know to get that info is to look at the memory map for
each process. For all running processes, the /proc/<pid>/maps file
shows how memory is laid out (replace <pid> with process ID), including
what shared libraries are loaded by that process.
Nathan
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]