Question: Linux system call using C programming. Write a system call that reports the following statistics about Linux page cache: 1. the current number of pages
Linux system call using C programming.
Write a system call that reports the following statistics about Linux page cache:
1. the current number of pages in the active list over all memory zones.
2. the current number of pages in the inactive list over all memory zones.
3. the current number of pages in the active list whose reference bit is set over all memory zones.
4. the current number of pages in the inactive list whose reference bit is set over all memory zones.
Write a user level program to test the system call.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
