stress
Stress test CPU, memory, and IO on a Linux system. tldr-pages
On Linux
Linux
Spawn 4 workers to stress test CPU
stress --cpu 4IdentifySpawn 2 workers to stress test IO and timeout after 5 seconds
stress --io 2 --timeout 5IdentifySpawn 2 workers to stress test memory (each worker allocates 256M bytes)
stress --vm 2 --vm-bytes 256MIdentifySpawn 2 workers spinning on write()/unlink() (each worker writes 1G bytes)
stress --hdd 2 --hdd-bytes 1GBIdentify