Results 1 to 1 of 1
I was wondering if there is a way to check if some shared library (*.so) is currently loaded in memory.
I have experienced a scenario on an embedded linux with ...
- 02-12-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 1
What shared libraries are loaded?
I was wondering if there is a way to check if some shared library (*.so) is currently loaded in memory.
I have experienced a scenario on an embedded linux with 64 MB memory:
1. Run free => available memory = 56 MB
2. Run an "hello world" application that is dynamically linked with libdummy.so it takes about 10 second to execute the whole application.
3. The size of libdummy.so is 6MB
4. After the "hello world" application exits, Run free => available memory = 50 MB.
5. Run again the "hello world" application that is dynamically linked with libdummy.so it takes about 1 second to execute the whole application.
I would like to undestand what happens? libdummy.so is still in the memory ? is it stored in some cache?
I was wondering if there is a way to check if some shared library (*.so) is currently loaded in memory and/or to list all the shared libraries that are currently loaded.


Reply With Quote