sudo pacman -S mission-center
If you do not like GUI programs, don’t worry, I got you. You have different ways you can monitor GPU usage stats, depending on which GPU your Linux system has.pip install gpustat
There’s another tool: gpustat, a Python package that also gives you quick details regarding your GPU usage. You need pip installed on your Ubuntu or Linux system to get this installed.
✋If you have a different GPU or want something else, try nvtop, which is used under-the-hood by Mission Center GUI.Once done, just type in the following:The terminal tool nvtop should be the best one in my option for stats on processing using the GPU, and the rest of the details. However, your preference can differ with just the default nvidia-smi or Mission Center GUI.Suggested Read 📖gpustat
Wrapping Up
flatpak install flathub io.missioncenter.MissionCenter
When you have a GPU on board, integrated or dedicated, there are some programs that help you get the necessary stats to check its temperature, free memory, and more. You can use them on Ubuntu and other Linux distributions as well.
nvidia-smi
Just type in the following to get it installed and then launch it:Here, I highlight the same after testing it on Ubuntu and Arch Linux.
sudo apt install nvtop
nvtop
It only works for NVIDIA proprietary drivers.So, you need to use a couple of specific programs or terminal tools that would let you access the usage data for your graphics card or integrated GPU. The command for Flatpak installation is (any Linux distribution):
gpustat
For NVIDIA, you can simply type:
pipx install gpustat
In the command, 2 → denotes the second interval in which the terminal will be refreshed. You can change this or opt to get updates in milliseconds by following the instructions on its man page.
You can install it as a Flatpak from Flathub or download the AppImage from its GitLab releases section. It is also available in certain repositories like AUR for Arch Linux. Head to its GitLab page for more information.If you do not mind installing a GUI program for the job, Mission Center should be your preferred tool.💭 What do you think is the best way to check GPU usage on Linux? Let me know in the comments!On a related note, you might want to keep a tab on the GPU temperature in Linux.Unfortunately, default system monitoring tools and command-line utilities like htop or top do not display GPU usage data.nvidia-smi -l 2
It supports NVIDIA, AMD, and Intel GPUs. So, you do not have to think twice regarding the support for your hardware. However, with Intel GPUs, you may not get all the essential details compared to AMD and NVIDIA powered GPUs.