Improve the stress test

This commit is contained in:
12b 2021-01-13 22:21:58 +01:00
parent 5729a67218
commit f22ac9ca30
1 changed files with 3 additions and 1 deletions

View File

@ -100,10 +100,12 @@ sensors 2>&1 | tee -a $LOGFILE
echo ' ' | tee -a $LOGFILE
echo "#### Continue stressing CPU to consume power for a while ####" | tee -a $LOGFILE
for i in {1..6}
for i in {1..3}
do
/usr/local/bin/sysbench cpu run --threads=8 --time=300 --report-interval=30 2>&1 | tee -a $LOGFILE
sensors 2>&1 | tee -a $LOGFILE
/usr/local/bin/sysbench memory run --threads=8 --memory-total-size=1024T --report-interval=30 --time=300 2>&1 | tee -a $LOGFILE
sensors 2>&1 | tee -a $LOGFILE
done
echo ' ' | tee -a $LOGFILE