System : AIX 5.3
How to dump memory ?
I checked below url, before dump, need to STOP the process. After
dump, can kill -CONT continous the process again ?
How to Dump the process image for AIX ?
Also, when one of process have core dump, Can dd possible to dump
memory ?
http://home.ie.cuhk.edu.hk/~shlam/ssem/for/
Using dd to snasphot the memory
dd if=/dev/kmem of=output
dd if=/dev/mem of=output
kill -STOP pid # Stop the process before dump
kill -CONT pid # Resume the process if necessary
gencore will generate a core file form the process without terminating
it .. or you may want to look at dbx to attach to the process for
debugging ?
Rgds
Mark Taylor