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

8 lines
136 B
Bash
Executable File

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