Tuesday, February 22, 2022

[SOLVED] Dumping page table entries of a process in Linux

Issue

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



Answered By - swann
Answer Checked By - Robin (WPSolving Admin)