shared library in running process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashokd001
    New Member
    • Aug 2008
    • 30

    shared library in running process

    Hi

    My program is running, how can i check what are the shared library it has loaded.
    Actually, i want to check whether a particular shared library has been loaded or not. How do i do that.

    Thanks in advance.
    Regards,
    Ashok
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    I don't know how to check loaded libraries by running program,
    But I can tell you the way to get all shared libraries on which the particular program is depend.
    You can use ldd command to achieve this...
    Even if you find that out of say 10 libraries(outpu t of ldd) 3 libraries have been loaded, it's not guaranteed that target program is really using it. It may have done it's work but still it is loaded in memory. More or less its just a function call for which binary is depending on shared library..

    Comment

    Working...