- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shared library
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 04:31 AM
08-25-2003 04:31 AM
Shared library
Thanks and regards,
Pratheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 04:51 AM
08-25-2003 04:51 AM
Re: Shared library
Though I've never tried it, lsof is supposed to be able to show libraries. You can download lsof from:
for 11.11 (64 bit)
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
for 11.0 (64 bit)
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/vxfs/64/9000_800/
for 11.0/11.11 (32 bit)
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 06:23 AM
08-25-2003 06:23 AM
Re: Shared library
Man ldd for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 07:01 AM
08-25-2003 07:01 AM
Re: Shared library
or
odump -sllibloadlist
--
ranga

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 07:26 AM
08-25-2003 07:26 AM
Re: Shared library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 07:49 AM
08-25-2003 07:49 AM
Re: Shared library
You can also view information about the
binary using chatr
If you binary looks for libraries also at
SHLIB_PATH/LD_LIBRARY_PATH and lsof doesn't
list the required information you have to
know how SHLIB_PATH/LD_LIBRARY_PATH have
been set when the program was started.
I have no idea currently how to get that
info from the running process on HP-UX.
Erik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 11:04 PM
08-25-2003 11:04 PM
Re: Shared library
Combined with the privious answers, one can optimize the script (warning : eats cpu).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 02:48 PM
08-26-2003 02:48 PM
Re: Shared library
The shared libraries show up as multiple mappings of the shared library file. There is one mapping for text and one for data. This approach will actually show shared libraries that are mapped by calls to dlopen or shl_load. The static analysis tools like ldd will miss those.