Skip to content

danielferragut/PATV-Physical-Address-Translation-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

PATV-Physical-Address-Translation-Viewer

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

Prerequisites

You are going to need Python 3 to run this code.

How to run

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.

Authors

  • Daniel Ferragut
  • Lucas Koiti

About

2nd project for the 'Operating Systems' course. Given a process id(pid) returns the physical memory address of the its virtual memory pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages