Virtual Memory Statistics Code



Installing

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. E.g.,
# Change to your home directory
cd

# Make a temporary directory
mkdir tmp

# Change into the tmp directory
cd tmp

# This creates the a directory vmstats and its contents.
tar -xzf ~cs350/pub/os161_repository/a3-vmstats.tar.gz

# Change into the new directory
cd vmstats

# View/Read/Follow the instruction in the README
cat README

# Have a look at the source code to see what it does.

# Include and use it in your kernel in the appropriate places.