Files
pistress/bin/run-cpu-stress.sh

8 lines
134 B
Bash
Executable File

export FIO_NUMJOBS=$(nproc)
measure_temp.sh > ${1} &
TPID=$!
fio ~/git/pistress/fio/fio_cpu
kill $TPID > /dev/null
unset FIO_NUMJOBS