1 Commits

Author SHA1 Message Date
olli e559c146b7 run-cpu-stress.sh fails when no logfilename is passed. 2026-07-04 11:16:30 +02:00
+5
View File
@@ -10,6 +10,11 @@ else
export THERMAL_ZONE=/sys/class/thermal/thermal_zone0/temp export THERMAL_ZONE=/sys/class/thermal/thermal_zone0/temp
fi fi
if [ -z "${1}" ]; then
echo "usage run-cpu-stress.sh <logfile>"
exit 1
fi
measure_temp.sh > ${1} & measure_temp.sh > ${1} &
TPID=$! TPID=$!
fio ${PISTRESS_HOME}/fio/fio_cpu fio ${PISTRESS_HOME}/fio/fio_cpu