Thread-topic: Checking if a shared library is in use...
I am working on an installer for a shared component. I want to check
whether any running programs are currently using a dylib in my component
so I can alert the user to exit the program before continuing with an
upgrade or deinstall. On Linux, Solaris, and HP-UX I can do this with
the fuser or lsof command line utilities. However, fuser is not
available on Mac and lsof doesn't appear to report libraries that are
loaded in memory as open files.
Is there another tool I can use to obtain this information?
--
Christopher Huyler
Computer Associates Intl.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden
This email sent to email@hidden