Question: Write Bash shell script code that displays a list of processes whose CPU usage exceeds 10%. For each process in that list, force that process
Write Bash shell script code that displays a list of processes whose CPU usage exceeds 10%. For each process in that list, force that process to not exceed 10% of CPU usage. Have your code wait for 5 seconds, and then display the same list of processes as before. Run your code to verify that none of the processes in the list exceeds 10% of CPU usage after your code has exercised the CPU usage regulation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
