Virtual Memory Statistics Code
(REMEMBER TO HIT THE RELOAD BUTTON IN YOUR BROWSER TO SEE THE LATEST VERSION)
These instructions are for using the student.cs
environment. If you are working on another system
you'll need to copy and transfer the a3-vmstats.tar.gz
file to your system and adjust the tar command below as appropriate.
Copy the file a3-vmstats.tar.gz into a temporary directory somewhere
or extract it directly into a temporary directory.
# Change to your home directory
# Make a temporary directory
# Change into the tmp directory
# This creates the a directory vmstats and its contents.
~cs350/bin/tar -xzf ~cs350/pub/os161_repository/a3-vmstats.tar.gz
# Change into the new directory
# View/Read/Follow the instruction in the README
# Have a look at the source code to see what it does.
# Include and use it in your kernel in the appropriate places.