Question: PRACTICE Part 1 Step1: Run vmstat on your machine with a 1 second delay between updates. Let it run for approximately 10 seconds. Notice the
- PRACTICE
- Part 1
Step1: Run vmstat on your machine with a 1 second delay between updates. Let it run for approximately 10 seconds. Notice the CPU utilization by looking at the (id) column Hint: To stop vmstat, CTRL + C
Step2: Run ex00.py script (Ubuntu$ python ex00.py). Then run vmstat in another terminal.
Q1. What do you notice in this case?
Q2. Without opening ex00.py, is there anything you can deduce regarding the script
Q3. Have a look inside ex00.py
Q4. Why CPU utilization is around 25% (not 100%)?
Hint : run mpstat
(please show me the answers in order so I don't get confused, answer all the questions with the number of the question)
ex00.py
)
X ex00. 1 while True: 2 pass 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
