PDA

View Full Version : Memory map for a C program?



kcode
November 17th, 2008, 04:31 PM
How can i find a memory map for a C program. I am looking out for some command.

Thanks

Cracauer
November 17th, 2008, 07:05 PM
In a shell, printing the map of that shell:

$ cat /proc/$$/maps