Skip to main content
1 of 2
BowPark
  • 5.2k
  • 13
  • 54
  • 78

Print the system memory structure

My system hosts 8 GB of RAM and 2 GB of VRAM. It runs Ubuntu 18.04 with kernel 4.15.0-74-generic x86_64.

IIUC, these two types of memory, in addition to the BIOS read-only memory, are mapped into the virtual and the physical address space.

Is there a tool to show how has this mapping been performed? In particular, which ranges of physical/virtual addresses are located for the system RAM, which for the VRAM and which for the BIOS.

I know about lsmem, but it seems not to distinguish between the types of memory.

BowPark
  • 5.2k
  • 13
  • 54
  • 78