Re: How can we get the list of all the shared luibraries referred during process life?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



man strace !

--- Gopala Krishna <gopalakrishna.n.m@xxxxxxxxx>
wrote:

> Hi,
> Is there any way to findout:
> what are all the libraries referred during life time
> of the process. I found
> ltrace command which would provide what are all the
> APIs referred during
> life of process. This much of granularity is not
> required for me. I also
> could understand we can get mapping in
> /proc/pid/maps which list the shared
> library mappings during life of the process.
> 
> My requirement is:
> I need to findout all the shared libraries used by a
> process and it's
> children. If sombody uses some shared library using
> dl_open, I should be in
> a position to findout. Is it possible to trace the
> process we are interested
> , and get a signal when it exits and kill the
> process once we get the
> statics of libraries used?. What happens if there
> are so many shared
> libraries referred during short interval(using
> dlopen/dlclose) and had to
> remove to make a room for other mapped shared
> libraries. Will such statics
> be retained in /proc/pid/maps?
> 
> Thanks in advance for your respopnse!.
> 
> Regards,
> Gopal.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux