Unix Debugging Cheat Sheet
pmap
To check the memory address mapping of the core dumped process.
e.g.
036AA000 2592k [heap]
So, it means 036AA000 and above is heap address.
FFB3A000 [stack]
And likewise.
Also can be used to check shared memory, shared libraries used and etc.
truss -d -o
To check the memory address mapping of the core dumped process.
e.g.
036AA000 2592k [heap]
So, it means 036AA000 and above is heap address.
FFB3A000 [stack]
And likewise.
Also can be used to check shared memory, shared libraries used and etc.
truss -d
Comments