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 3Step 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