Search code examples
linuxlinux-kernelmmu

Dumping page table entries of a process in Linux


I was wondering if there is any utility/code in Linux (x86-64) that could dump each page table entries for a given process's (user) address space?

Thanks


Solution

  • I think /proc/pid/pagemap and /proc/pid/maps contain this info, but I am not aware of any tool dumping them in a more meaningful format.

    You can always write it yourself using the kernel doc:

    http://www.kernel.org/doc/Documentation/vm/pagemap.txt