Re: can you list all shared libraries currently loaded by a running process?
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 08 Nov 2006 18:01:15 -0500
weisburd@xxxxxxxxx writes:
Dan Espen wrote:
weisburd@xxxxxxxxx writes:
Hi,
I'm running RHEL 2.4, trying to debug a java application which loads
some shared libaries at runtime.. I'd like to get a list of these that
I could submit in a bug report. gnome-system-monitor has the list I
want ("memory maps"), but I couldn't figure out how to copy it. Is
there a command line which produces the same list?
pmap will produce similar info.
There is more than one line for each shared library
since it shows the type of memory being used.
Thanks! Thats exactly what I wanted. Unfortunately, pmap seems to
truncate path names of the shared libraries to 80 chars max, and a lot
of my paths are longer. Anybody know how to get around this?
There is a limit of one fix of a top post to a customer.
I don't see the truncation.
Is it also truncated in the /proc/*/map?
Do this:
get the PID of any running process using "ps".
Do:
cat /proc/PID/map
is it truncated there too?
.
- References:
- Prev by Date: Re: can you list all shared libraries currently loaded by a running process?
- Next by Date: Re: Cannot find a valid baseurl for repo: updates
- Previous by thread: Re: can you list all shared libraries currently loaded by a running process?
- Next by thread: Any Cyrus-imap help gratefully received
- Index(es):