Saturday, October 12, 2024

understanding 'load average' in Linux

When we run the top command in Linux, we see three numbers depicting "Load average". What are they? and how much should they be?

https://scoutapm.com/blog/understanding-load-averages

1. The three numbers are one-minute, five-minute and fifteen-minute averages.

2. For a server, the load average should be 0.7 or below for a single CPU.

3. We can do cat /proc/cpuinfo to find the number of CPU cores. For a 2-core machine, below 2*0.7=1.4 would be healthy.


No comments:

Post a Comment