Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, I hope this is the right category for my question ... if not .. please let me know what category to post this question ... thanks ... I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5

    Loaded shared libraries in memory


    Hi folks,

    I hope this is the right category for my question ... if not .. please let me know what category to post this question ... thanks ...

    I am using Ubuntu Linux .. and I wonder if there is way to get all name of shared
    libraries that have been loaded currently in the memory?

    Thanks

    Dang

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,216
    Well, a quick and dirty way to do it would be to go into /proc as root, find all files called maps and use awk to print out and sort the libraries (at the end of each line). Something like:

    find -name maps|xargs awk '{print $6}'|sort|uniq

    But there's probably a more elegant way.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    5
    Thank you Hazel,

    Dang

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •