- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get the list of shared libraries the proces...
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
12-29-2003 03:10 AM
12-29-2003 03:10 AM
How to get the list of shared libraries the process is using
In Solaris we could use pmap to get that info.
Also, looking for a way to see all the environment variable used by the process.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2003 04:15 AM
12-31-2003 04:15 AM
Re: How to get the list of shared libraries the process is using
Alternatively, you can execute the System Information (Start > Programs > Accessories > System Tools > System Information) and Click Software Environment / Loaded Modules and "try" to see the changes.
__________________________________________
Was the post useful? Click on the white KUDOS! Star.
Do you need help with your HP product?
Try this: http://www.hp.com/support/hpgt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 12:22 AM
01-21-2004 12:22 AM
Re: How to get the list of shared libraries the process is using
# ps -ef |grep envd
root 1603 1 0 Dec 5 ? 0:00 /usr/sbin/envd
# chatr /usr/sbin/envd
/usr/sbin/envd:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libc.2
... snip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:20 PM
01-22-2004 09:20 PM
Re: How to get the list of shared libraries the process is using
If the process is running, you can use glance (select process, Open file option) you may either have the path to the file or inode within the logical volume.
If you don't have glance you can use "lsof"
regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 09:45 PM
02-23-2004 09:45 PM
Re: How to get the list of shared libraries the process is using
Of course you need to know the binary name
for this which I assume you get from 'ps' output.Chatr is also good to show build options for the binary.Pmap is from Solaris 2.7 afaik, but ldd is there also,isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 02:31 AM
03-09-2004 02:31 AM
Re: How to get the list of shared libraries the process is using
For VMS, do
$ ANALYZE/IMAGE/INTERACTIVE
one page at a time you get info about the image.
Look for the chapter: "Shareable Image List", and here is your answer.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 02:40 AM
03-09-2004 02:40 AM
Re: How to get the list of shared libraries the process is using
You can use ldd, chatr and lsof to find the shared libaries used by a particular binary.
lsof will only work on a process that is currently running.
ldd and chatr can be used against binaries.