views:

54

answers:

1

On solaris i can run the pmap command on a core file to get the memory map of a crashed process. Unfortunately the pmap command available on HPUX and Linux doesn't provide this option. Any pointers how i can get this information on these platforms?

Thanks!

A: 

objdump -p core

That will give the information from the first three columns of pmap, but in a different format. The first three columns in pmap correspond to the vaddr, memsz and flags values in the objdump output resepectively.

The fourth column from pmap, the path of the mapped file, appears to be unavailable from the core file.

caf