brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: the uptime load average only means something next to your linux CPU count

Linux
~/tips/tip-linux-uptime-load-per-cpu

uptime

Gives the load average and the CPU count so you can judge whether the load is high.

A load of 4 is fine on an eight core machine and a problem on a single core.

uptime
nproc

The three numbers in uptime are the average number of runnable tasks over 1, 5 and 15 minutes. Divide by the nproc output to compare them with your capacity. Linux also counts tasks stuck in uninterruptible sleep, usually waiting for disk or NFS, so a high load with an idle CPU points at I/O. If the 1 minute value is above the 15 minute value, the load is rising.

Further reading: uptime manual page

Going deeper: Keep a domain pointed at your home with Cloudflare DDNS on Unraid

More Linux tips a2query -m rewrite renice -n 10 -p 4242 cat config.yml | xsel -ib xvfb-run -a your-program --some-flag dpkg --get-selections > packages.txt All Linux tips (261) All topics

Link