- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ldd like tool for in-memory process
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
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
06-16-2005 07:43 PM
06-16-2005 07:43 PM
ldd like tool for in-memory process
Is there a tool like "ldd" which can accept the PID of a process in execution, and display the pathnames of the various libraries loaded dynamically and linked-to ? I'm just hoping against the odds...
cheers,
bd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 08:00 PM
06-16-2005 08:00 PM
Re: ldd like tool for in-memory process
# lsof -p 11086 | awk '$4=="mem"'
telnetd 11086 root mem REG 64,0x7 36864 10488 /usr/lib/libnss_dns.1
telnetd 11086 root mem REG 64,0x7 53248 29984 /usr/lib/libnss_files.1
telnetd 11086 root mem REG 64,0x7 135168 116 /usr/lib/libxti.2
telnetd 11086 root mem REG 64,0x7 741376 30172 /usr/lib/libnsl.1
telnetd 11086 root mem REG 64,0x7 45056 30173 /usr/lib/libnss_nis.1
telnetd 11086 root mem REG 64,0x7 1044480 118 /usr (/dev/vg00/lvol7)
telnetd 11086 root mem REG 64,0x7 24576 29836 /usr/lib/libdld.2
telnetd 11086 root mem REG 64,0x7 1814528 27903 /usr/lib/libc.2
telnetd 11086 root mem REG 64,0x7 241664 28460 /usr/lib/dld.sl
telnetd 11086 root mem REG 64,0x8 532 2449 /var/spool/pwgr/status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2005 08:18 PM
06-16-2005 08:18 PM
Re: ldd like tool for in-memory process
I believe that when demand load is done, dld.so opens the file, reads it, loads the text segments into memory after relocation, update the link tables, and finally close the file... (just a hunch). Because I am not seeing so monay .sl files (via "lsof), that ldd -v shows, and I know that they are loaded because I am able to use the functionality delivered by those shared libs!!
thanks for the info anyway.
regards,
bd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 03:23 AM
06-17-2005 03:23 AM
Re: ldd like tool for in-memory process
I knew which all .sl's I was suspecting to be used, but couldn't get "ldd" to report them (since they were loaded on demand). I simply started the process in question, and did an "fuser" on the suspected .sl file, and that's it. It confirmed it's use.
thanks,
bdutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 03:24 AM
06-17-2005 03:24 AM