Professional Documents
Culture Documents
11. In the right terminal shell, note the process ID (PID) for the third monitor process.
View the CPU
percentage for the process, which is again expected to hover between 15% and 25%.
To push the load average above 1, you must start more monitor processes.
The classroom setup has two
CPUs, so only three processes are not enough to stress it.
Start three more monitor processes in the
background.
View again the one-minute load average, which is now expected to be above 1.
Wait at least
one minute for the calculation to adjust to the new workload.
[4] 10708
[5] 11122
[6] 11338
top - 12:42:32 up 11 days, 1:28, 3 users, load average: 1.23, 2.50, 1.54
12. When you are finished observing the load average values, terminate each of the monitor processes from
within the top command.
12.1. In the right terminal shell, press k to observe the prompt below the headers and above the
columns.
...output omitted...
12.2. The prompt chooses the monitor processes at the top of the list.
Press Enter to kill the process.
...output omitted...
Verify that the selected process is no longer present in the top command.
If the PID exists, then
repeat these steps to terminate the processes, and substitute SIGKILL signal 9 when prompted.
13. Repeat the previous step for each remaining monitor process.
Verify that no monitor processes remain in
the top command.
14. In the right terminal shell, press q to exit the top command.
Close the right terminal.
logout
[student@workstation ~]$
Finish
On the workstation machine, change to the student user home directory and use the lab command to
complete this exercise. This step is important to ensure that resources from previous exercises do not impact
upcoming exercises.
Previous Next