Ubuntu Linux is a popular Linux distribution that is known for its ease of use. One of the features that makes Ubuntu so user-friendly is its CPU / System Load Average (SLA). This article will show you how to get the CPU / SLA on Ubuntu. To get the CPU / SLA on Ubuntu, open a terminal window and type: sudo lscpu This will display the CPU information and the system load average. ..


There are a couple of ways to get this information, which may or may not be enabled on your system. It’s useful to know more than one way to get the uptime information in case the commands are disabled on your shared hosting server.

uptime

The uptime command gives information on system load averages for the past 1, 5, and 15 minutes:

Example:

w

The w command shows who is logged on and what they are doing, including system load averages for the past 1, 5, and 15 minutes.

/proc/loadavg

The /proc/loadavg file contains information on the system load. Most likely the uptime/w commands utilize this information. The first 3 values contain system load averages for the past 1, 5, and 15 minutes.

There are probably some more commands, but these are the ones off the top of my head that I know of.