Improve the stress test
This commit is contained in:
parent
5729a67218
commit
f22ac9ca30
1 changed files with 3 additions and 1 deletions
|
@ -100,10 +100,12 @@ sensors 2>&1 | tee -a $LOGFILE
|
||||||
|
|
||||||
echo ' ' | tee -a $LOGFILE
|
echo ' ' | tee -a $LOGFILE
|
||||||
echo "#### Continue stressing CPU to consume power for a while ####" | 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
|
do
|
||||||
/usr/local/bin/sysbench cpu run --threads=8 --time=300 --report-interval=30 2>&1 | tee -a $LOGFILE
|
/usr/local/bin/sysbench cpu run --threads=8 --time=300 --report-interval=30 2>&1 | tee -a $LOGFILE
|
||||||
sensors 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
|
done
|
||||||
|
|
||||||
echo ' ' | tee -a $LOGFILE
|
echo ' ' | tee -a $LOGFILE
|
||||||
|
|
Loading…
Reference in a new issue