On Sat, May 13, 2006 at 08:53:06AM -0700, Dan Nicholson wrote: > On 5/13/06, Warren Wilder <[EMAIL PROTECTED]> wrote: > > > >How do you check whether any of the running processes is using the > >shared library xxx.so? > > Not exactly the answer you want, but you can find out what libraries > a running process is using through pmap.
What's wrong with fuser? $ $ fuser /usr/lib/libm.so /usr/lib/libm.so: 3378m 3400m 3408m 3409m 3410m 3577m 3671m 3678m 3681m 3713m 3715m 20964m The numbers are process IDs and the suffix 'm' means a shared library or mmap-ed file. Isn't that exactly what the OP wanted? Regards, Jeremy Henty -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
