2nd project for the 'Operating System' course. Given a pid, this python program finds all the memory pages that this process has, and checks how many are in RAM or not, while also printing their page table entries and page frame number.
Further explanation and context can be found here (in portuguese).
You are going to need Python 3 to run this code.
First, clone this repository to your PC:
git clone https://github.com/danielferragut/PATV-Physical-Address-Translation-Viewer/
Change directories to the new PATV-Physical-Address-Translation-Viewer directory created.
To run, just type:
python3 patv.py [pid]
[pid] being the process id for the desired process. Sudo is necessary, otherwise the page frame number for pages in RAM is going to be 0x0.
- Daniel Ferragut
- Lucas Koiti