Operating System - HP-UX
1753952 Members
7793 Online
108811 Solutions
New Discussion юеВ

Re: Shared Libraries in Use on HPUX

 
SOLVED
Go to solution
Malcolm Leckie
Occasional Advisor

Shared Libraries in Use on HPUX

On HPUX (Itanium), for a given process is there a way of finding out what shared libraries it has linked to when it is running?

Thanks
5 REPLIES 5
Venkatesh BL
Honored Contributor

Re: Shared Libraries in Use on HPUX

# pmap
Malcolm Leckie
Occasional Advisor

Re: Shared Libraries in Use on HPUX

Don't have pmap on the HP-UX 11.23, but IT lead me to this thread which got the information I wanted (very verbose solution, but it worked).

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=576755

Thanks for your response.
Dennis Handly
Acclaimed Contributor
Solution

Re: Shared Libraries in Use on HPUX

If you want to change the application, you can call dlget(3) to get the list.
Or you can attach with gdb and use "info shared".
Malcolm Leckie
Occasional Advisor

Re: Shared Libraries in Use on HPUX

Changing the application is not possible as we don't have the source.

The gdb suggestion works well and is a much nicer way of getting the info.

Many thanks.
Malcolm Leckie
Occasional Advisor

Re: Shared Libraries in Use on HPUX

Thread closed as a useable solution has been identified.