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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!