In this lab, you will search for processes with high CPU consumption and adjust their nice levels.
| Resources | |
|---|---|
| Files: | /usr/local/bin/lab nice |
| Machines: | desktopX |
Outcomes:
The nice level of the top CPU consumers adjusted to play well with others.
Reset your desktopX system.
Log into and set up your desktopX system.
[student@desktopX ~]$lab nice setup
Using either top or ps, identify
the two top CPU consumers on your desktopX system. If
gnome-shell is among the top two, ignore it and take
the next highest process. Make sure to note the process IDs of these
two processes.
From the command line, set the nice level of the processes you found
in the previous step to 10.
Grade your work by running the following command:
[student@desktopX ~]$lab nice grade
Important cleanup: When you have successfully graded your work, clean up by running the following command:
[student@desktopX ~]$lab nice clean