[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] listing shared objects in use by a process?
- Subject: [ale] listing shared objects in use by a process?
- From: jknapka at earthlink.net (Joseph A Knapka)
- Date: Mon, 03 Dec 2001 16:54:02 +0000
John Wells wrote:
>
> Is there a utility that will print all shared objects
> currently being accessed/used by a process?
>
> Thanks,
>
> John
>
If you have "lsof" installed, you can use "lsof -p <PID>"
to see all the files opened by the process, and shared
libs will be among them. Grepping that for "\.so$" will
usually do what you want, unless the process in question
has opened a shared object as a normal file for some
reason.
Here's the lsof maintainer's home page:
<URL: http://www-rcd.cc.purdue.edu/~abe/>
Cheers,
-- Joe
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.