vim stresscpu.sh; # create new script file

#!/bin/bash

while true; do
echo -n "+.";
done;

save and quit

chmod u+x stresscpu.sh; # mark it runnable

nohup stresscpu.sh & # run in background

htop # streeeeeeessss!

it is also a harddisk-stress test at the same time 😀

the nohup file can grow pretty fast pretty large do not forget to delete afterwards

admin