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

Daniel Pittman daniel at rimspace.net
Wed Mar 28 13:35:28 NZST 2007


Neville D <nevilled.wo at gmail.com> writes:

> 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).  

Yes.

> 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?

No.

> Is there a nice tool for this?

No, not really.

Why do you want to know?

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



More information about the AuckLUG mailing list