Question
Operating Systems questions need help Log on to any machine running Linux. Type cd /proc to change to the /proc directory, and ls to show
Operating Systems questions need help
Log on to any machine running Linux. Type cd /proc to change to the /proc directory, and ls to show a directory listing of the virtual files. You can type more to request the contents of a file. Use the files in the /proc filesystem to answer the following questions about the system you have logged on to. For each part, state the answer and which file in the /proc filesystem you used to find the answer.
a) How much memory does the system have?
b) How much memory is currently available?
c) How many disk reads have been done on the primary disk since boot? (sda is usually the primary disk)
d) How many processes have been created since the system booted?
e) How many context switches has the kernel performed?
f) How long has it been since the system booted?
g) How many timer interrupts have occurred since the system booted?
h) How many kernel scheduling entities (processes or threads) currently exist in the system?
i) What is the build date on the kernel version?
j) How many kernel modules are currently loaded?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started