On all linuxes, /proc/<pid>/maps provides the virtual machine maps for the process with process id <pid>.
On Suse, pmap <pid> command provides this interface conveniently.
How to read the virtual memory maps?
Can I make out which block is heap and which block is stack? Or even more precisely, judge which blocks make up permgen and how much for code section?
<<J2SDK5 Troubleshooting and Diagnostic Guide>> introduced VM maps entry and the basic technicques.
It also metioned Solaris 10 provide an improved pmap which can indicate stack id and so on. Is it possible to make out such information on Suse?