The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,708     Votes:  1     ✅ Solution
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1036501
Title: CPU and memory usage for last 5 minutes
ID: /2018/05/15/CPU-and-memory-usage-for-last-5-minutes
Created: May 15, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


The uptime command lists load average for the last 1, 5 and 15 minutes:

$ uptime
 05:49:47 up  8:40,  1 user,  load average: 3.38, 2.16, 1.87

The load needs to be divided by number of CPUs. For example my system is a quad core (4 CPUs) Hyper threading (2 threads per CPU) so I need to divide by 8. The 5 minute load average of 2.16 is really .27 or about 27%.

You can learn more here and here.

⇧ Clean Install of 18.04 Boots to Grub Prompt Ubuntu 18.04 and it's spins freeze on shutdown  ⇩