Skip to content

Hardware testing / health

Stress testing

stress-ng

Stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.

Install:

apt install stress-ng

Usage

CPU

Simple matrix test:

stress-ng --matrix 0 -t 1m

Show thermal information if available:

stress-ng --cpu 0 --tz -t 1m

anarcat/stressant

Stressant is a simple yet complete stress-testing tool that forces a computer to perform a series of test using well-known Linux software in order to detect possible design or construction failures. Stressant builds on top of existing software and tries to cover most components of your system (currently disk, CPU and processor).

Install

apt install stressant fio-examples

stressant usage

Test CPU and disk (non-destructive):

stressant --smart --disk --diskDevice /dev/sda --no-network

Test CPU and disk (destructive !!):

stressant --smart --disk --diskDevice /dev/sda --overwrite --no-network

Only test CPU:

stressant --cpuBurnTime 20m --no-network --no-disk

Issues

  • network benchmark stalled (at iperf3 -c iperf.he.net -t 60)

memtest

  • Boot memtest from live cd
  • or install it as debian package (apt install memtest86+), reboot and select it from the grub menu
  • Run at least 1 whole pass
  • Website
  • GitHub