Ghosts from the past. ;^) This may help: http://www.sco.com/developers/gabi/latest/ch5.pheader.html
p_memsz will always be equal to or greater than p_filesz, the extra space is usually null bytes and I think would represent uninitialized static memory, but with a core file means that part of memory is not available or something like that. These fields can not be assumed to be the same all the time. Good Luck. . ..... . . . I will now fade back into my ghostly realm ... ;^) -kto On Oct 12, 2013, at 4:40 AM, Dmitry Samersoff <dmitry.samers...@oracle.com> wrote: > Hi Everybody, > > SA ps_proc code mixing two different fileds of Elf header p_filesz and > p_memsz. > > Fortunately in most cases they contains the same value but simetimes not. > > Do you have any background ? > > > I plan to file a bug and clean this up. > > > -- > Dmitry Samersoff > Oracle Java development team, Saint Petersburg, Russia > * I would love to change the world, but they won't give me the sources.