/go/loadavg: loadavg from the Command Line

/go/loadavg tells you how busy the server has been over the current week. Each time it runs, it: The weekly log is cleared on Sunday just after midnight, so every week starts fresh. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/loadavg

The command prints a number such as 37, meaning the average load this week is 37% of the server’s CPU capacity.

Examples

# Take a sample and show the weekly average
/go/loadavg

# Look at the samples collected so far this week
cat /var/log/load.log

# Count the samples
wc -l < /var/log/load.log

# See the latest samples, one per run
tail -5 /var/log/load.log

Output

A single whole number:

37

Value Meaning
0 to 99 The average load is below the capacity of the CPU.
100 The CPU is fully used on average.
Above 100 More work is waiting than the CPU can handle on average.
Above 70 An alert is sent.

The number is rounded down, so a very small load shows as 0.

Alert messages

When the average is above 70, the administrator receives:

High Load Averages (82 %)

by email (as both the subject and the message) and by WhatsApp. The number in brackets is the weekly average.

See the full reference at /go/loadavg and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *