stress-ng
Load and stress a Linux system in various ways (CPU, memory, I/O, etc.). tldr-pages
On several platforms
Several platforms
Load and stress a Linux system in various ways (CPU, memory, I/O, etc.). Useful for benchmarking, hardware validation, and stability testing.
Stress all CPUs with 4 workers for 60 seconds
stress-ng --cpu 4 --timeout 60sIdentifyStress virtual memory with 2 workers for 30 seconds
stress-ng --vm 2 --vm-bytes 512M --timeout 30sIdentifyStress the I/O subsystem with 3 workers for 45 seconds
stress-ng --io 3 --timeout 45sIdentifyRun all stress tests for 2 minutes
stress-ng --all 1 --timeout 2mIdentify