Stress-ng is a system stress tool that hammers CPU, memory, I/O, kernel interfaces, and more so you can shake out hardware faults, thermal issues, and kernel bugs. This is not meant to function as a precise benchmark.
Important
stress-ng is best used with monitoring tools to observe system behavior under stress. It is highly recommended to utilize top, htop, temps (sensors), and logs (dmesg -w) while running stress-ng. If you prefer a GUI, you may utilize hardinfo or gnome-system-monitor.
Information
stress-ng is one of the preinstalled packages for our r/Techsupport Rescue Media. If you are using this live image, you can skip the installation section.
How to install stress-ng
Refer below for installation instructions if you are not using our live image or want to install it on your own system.
Comprehensive system stress test (30 min): Stresses a wide range of system components including CPU, memory, I/O, and kernel interfaces. Comprehensive but may be intensive. Monitor system temperature very closely.
This is a guide for making your own custom tests. When running stress-ng, you can specify the type of stress test, the number of workers, and the duration. Here are some common examples:
“Pathological” (can hang a box): enabled only if you add --pathological, e.g. --bind-mount, --smi, --cpu-online.
To see the extra functions and options for a specific stressor, run:
Terminal window
manstress-ng
# /vm- (search for a specific stressor like vm, hdd, matrix, etc.)
The man page sections list every stressor (--access, --acl, --affinity, --aio, --vm, --bigheap, …) with a short explanation and available -ops and tuning options.
For a full list of stressors and options, refer to the official stress-ng documentation or run stress-ng --help in the terminal.