Skip to contentSkip to conversation

/proc/pic/smaps output

DISCUSSION Philip Balister 1 participant 1 message Mar 25, 2007

lore
Share & tools
lore
#0 lore raw

I am using pmap to try and estimate process memory usage on the OSK (with the 2.6.20 omap kernel). Here is a short section of output:

40024000   1340K  r-x--  /usr/lib/libomniORB4.so.0.7
40173000     32K  -----  /usr/lib/libomniORB4.so.0.7
4017b000     44K  rw---  /usr/lib/libomniORB4.so.0.7

I am not sure how to interpret the section marked -----. If I look directly at the output of /proc/<pid>/smaps, the ----- corresponds to ---p . If I look on my x86 machine, this section appears be r-xp.

Does anyone have any insight into this? I do not understand why a library would be maped as unreadble, unwritable, and not executable.

Thanks,

Philip