Understanding load average
Before we close this chapter, a very important topic to understand when monitoring processes and 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
or top
command, the load average is shown within the output of each. 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
The load average is broken down into three sections, each ...
Get Mastering Ubuntu Server now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.