Please follow the below steps to test your Project-3.
bash test.sh < Test Case Number>
Test Case # | Test Command | Test Criteria | Total Points |
---|---|---|---|
0 | NA | For all the test cases (1-3), the kernel module should init successfully with the new process PID and exit successfully. | 5 |
1 | ./test.sh 1 | The RSS result from your kernel module output should be 1 GB (5 pts), 2 GB (5 pts), and 3 GB (5 pts), every 10 seconds for 30 seconds | 15 |
2 | ./test.sh 2 | The WSS result from your kernel module output should be 3 GB (5 pts), 2 GB (5 pts), and 1 GB (5 pts), every 10 seconds for 30 seconds | 15 |
3 | ./test.sh 3 | The SWAP results from your kernel module should match with proc results with memory pressure of 3.5 GB (5 pts), 4 GB (5 pts), and 4.5 GB (5 pts) | 15 |