[AuckLUG] Re: Q: Mapping a virtual memory address to the "actual/default" memory address range.

Neville D nevilled.wo at gmail.com
Wed Mar 28 14:58:41 NZST 2007


Hi,

Background:
I can find the memory allocated to the init process (or any other proc):
# cat /proc/1/maps
08048000-080c1000 r-xp 00000000 08:0b 43113      /sbin/init
080c1000-080c2000 rw-p 00079000 08:0b 43113      /sbin/init
080c2000-080e6000 rw-p 080c2000 00:00 0          [heap]
bf8e6000-bf8fb000 rw-p bf8e6000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]

These are appear to be virtual addresses.  (I don't have fffff000 bytes
(~4Gb) of Ram).  

My question is:  

Is there any way of converting one of virtual addresses-ranges (eg
080c2000-080e6000) to the actual physical pages that are being used?

Is there a nice tool for this?

ThanX
N




More information about the AuckLUG mailing list