To add an indicator of RAM or CPU usage, I recommend installing a system monitor extension.
To install the extension, just run the command:
sudo apt-get update && sudo apt install indicator-multiload
Now you can find the system load indicator in your applications list.
![System Load Indicator](https://comfortdev.com/storage/2022/07/system-load-indicator-min-1024x257.png)
Select it, and you will see the small indicator at the top right corner (top bar).
Click on the indicator and select Preferences.
Select indicator items:
![Indicator Items](https://comfortdev.com/storage/2022/07/indicator-menu-min-1024x531.png)
Add a new element:
RAM $(size(mem.user))
As a result, you will see:
![](https://comfortdev.com/storage/2022/07/indicator-menu-ram.png-min-1024x561.png)
Make sure that your new indicator item is on the top of the list.
That’s it. Now you can easily see the indicator of RAM usage in the top bar of your ubuntu machine.
![RAM indicator on ubuntu](https://comfortdev.com/storage/2022/07/ram-indicator-min.png)