How to run stress test on Linux. Here is how to install GtkStressTesting and perform stress testing on Ubuntu. Linux stress test GPU, Linux stress test CPU and Linux stress test menory using this tool.
GtkStressTesting is a Linux Ubuntu System utility designed to stress and monitoring various hardware components. GST is a GTK system utility designed to stress and monitoring various hardware components like CPU and RAM.
- Run different CPU and memory stress tests
- Run multi and single core benchmark
- Show Processor information (name, cores, threads, family, model, stepping, flags,bugs, etc)
- Show Processor’s cache information
- Show Motherboard information (vendor, model, bios version, bios date, etc)
- Show RAM information (size, speed, rank, manufacturer, part number, etc)
- Show CPU usage (core %, user %, load avg, etc)
- Show Memory usage
- Show CPU’s physical’s core clock (current, min, max)
- Show Hardware monitor (info provided by
sys/class/hwmon
)
Install GtkStressTesting
Make sure you have Flatpak installed on the system. If not installed, scroll down to read the guide to install Flatpak. I assume you have Flatpak installed on the system. Run the following commands to install GtkStressTesting
Make sure to have the Flathub remote added to the current user:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.leinardi.gst
Dependencies for (K/X)Ubuntu 18.10 or newer
sudo apt install appstream-util gir1.2-gtksource-3.0 git libcairo2-dev libgirepository1.0-dev libglib2.0-dev meson python3-gi-cairo python3-pip stress-ng
Python dependencies
git clone --recurse-submodules -j4 https://gitlab.com/leinardi/gst.git
cd gst
pip3 install -r requirements.txt
Run:
flatpak run com.leinardi.gst
Install Flatpak
To install Flatpak on Ubuntu 18.10 (Cosmic Cuttlefish) or Ubuntu 19.04 (Disco Dingo), simply run:
sudo apt install flatpak
With older Ubuntu versions, the official Flatpak PPA is the recommended way to install Flatpak. To install it, run the following in a terminal:
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak
Install the Software Flatpak plugin
The Flatpak plugin for the Software app makes it possible to install apps without needing the command line. To install, run:
sudo apt install gnome-software-plugin-flatpak
Add the Flathub repository
Flathub is the best place to get Flatpak apps. To enable it, run:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Once installed, to complete setup, restart your system.
Install GtkStressTesting
Install GtkStressTesting – Clone project and install
If you have not installed GST yet:
git clone --recurse-submodules -j4 https://gitlab.com/leinardi/gst.git
cd gst
git checkout release
pip3 install -r requirements.txt
meson . build --prefix /usr
ninja -v -C build
ninja -v -C build install
GtkStressTesting – Update old installation
If you installed GST from source code previously and you want to update it:
cd gst
git fetch
git checkout release
git reset --hard origin/release
git submodule init
git submodule update
pip3 install -r requirements.txt
meson . build --prefix /usr
ninja -v -C build
ninja -v -C build install
Once installed, to start it you can simply execute on a terminal:
gst
More Info: https://flathub.org/apps/details/com.leinardi.gst