If installing for the first time, run this command in a terminal window:
sudo apt-get install stress
To initiate 3 workers for a 1 minute, run this command in the terminal window:
sudo stress --cpu 3 --timeout 60
Notes:
- Workers are separate processes. They will likely run on separate cores.
- Each worker will run the cpu at 25% each, so 3 workers should have the cpu usage at approximately 75%.
- The number after --timeout will run the stress test for the number of SECONDS desired.