Understanding load average
Another very important topic to understand when monitoring performance is load average, which is a series of numbers that represents your server's trend in CPU utilization over a given time. You've probably already seen these series of numbers before, as there are several places in which the load average appears. If you run the htop
utility, for example, the load average is shown on the screen. In addition, if you execute the uptime
command, you can see the load average in the output of that command as well. You can also view your load average by viewing the text file that stores it in the first place:
cat /proc/loadavg
Personally, I habitually use the uptime
command to view the load average. This command not only gives me the load average but also tells me how long the server has been running.
The load average is broken down into three sections, each representing 1 minute, 5 minutes, and 15 minutes respectively. A typical load average...