Professional Documents
Culture Documents
RH124 - ch08s08 - 20
RH124 - ch08s08 - 20
Architecture: x86_64
CPU(s): 2
...output omitted...
5. In the left terminal shell, run a single instance of the monitor script file in the background.
[1] 6071
top - 12:23:45 up 11 days, 1:09, 3 users, load average: 0.21, 0.14, 0.05
8. In the left terminal shell, run a second instance of the monitor script file in the background.
[2] 6498
9. In the right terminal shell, note the process ID (PID) for the second monitor process.
View the CPU
percentage for the process, which is also expected to hover between 15% and 25%.
...output omitted...
Again view the one-minute load average, which remains less than 1.
Wait at least one minute for the
calculation to adjust to the new workload.
top - 12:27:39 up 11 days, 1:13, 3 users, load average: 0.36, 0.25, 0.11
10. In the left terminal shell, run a third instance of the monitor script file in the background.
[3] 6881
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