CPU, memory utilization in Ubuntu 20.04 top pane?

Solution 1:

On Ubuntu 20.04 I was unable to get my CPU and Memory usage to appear on the top bar with the gnome system monitor. However, I found a different program that allows me to do just that:

sudo apt install indicator-multiload

After logging out and then logging back in you should see a little graph on the top bar showing CPU usage. To get the program to show memory usage (and other resources), click the graph and go to "Preferences". There you can just tick the checkboxes next to the resources you wish to show on your top bar.

Here is a link to a tutorial with some screenshots and more details: Ubuntu show CPU and Memory usages in Top Bar

Hope this solves your problem.

Edit: I figured out how to use gnome-shell-extension-system-monitor for this. You need to install Gnome Tweaks (sudo apt install gnome-tweaks). Then after running sudo apt install gnome-shell-extension-system-monitor as above, open the Tweaks app and under the "Extensions" tab turn on System Monitor. You can then click on the graphs on the top bar to edit Preferences for the program.