On 2004.05.02, Andrew Piskorski <[EMAIL PROTECTED]> wrote: > Under Linux, is there some more general way to answer the question, > "Exactly what shared libraries is this running process actually > using?" Some command line tool, or a particular thing to check under > gdb? Or some C function which I could call from inside AOLserver > itself?
On Linux (at least kernel 2.4.x -- earlier kernels may differ) this is trivial: # grep libssl /proc/350/maps 402df000-4030b000 r-xp 00000000 03:05 183602 /usr/lib/i686/cmov/libssl.so.0.9.7 4030b000-4030e000 rw-p 0002b000 03:05 183602 /usr/lib/i686/cmov/libssl.so.0.9.7 Replace "350" with the process ID of the nsd you're interested in. procfs wins. FATALITY! *gong* -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
