Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.