Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 939da6f3dc | |||
| 3d68686a96 |
@@ -33,7 +33,7 @@ fi
|
|||||||
|
|
||||||
verbose=false
|
verbose=false
|
||||||
COLOR='red'
|
COLOR='red'
|
||||||
PADDING=5
|
PADDING=0
|
||||||
|
|
||||||
VALID_ARGS=$(getopt -o vho:c:t:l: --long verbose,help,output,color:,title:,logfile: -- "$@")
|
VALID_ARGS=$(getopt -o vho:c:t:l: --long verbose,help,output,color:,title:,logfile: -- "$@")
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
|
export FIO_NUMJOBS=$(nproc)
|
||||||
measure_temp.sh > ${1} &
|
measure_temp.sh > ${1} &
|
||||||
TPID=$!
|
TPID=$!
|
||||||
fio ~/git/pistress/fio/fio_cpu
|
fio ~/git/pistress/fio/fio_cpu
|
||||||
kill $TPID > /dev/null
|
kill $TPID > /dev/null
|
||||||
|
unset FIO_NUMJOBS
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ cpuchunks=100000
|
|||||||
runtime=3600
|
runtime=3600
|
||||||
time_based
|
time_based
|
||||||
group_reporting
|
group_reporting
|
||||||
numjobs=4
|
numjobs=${FIO_NUMJOBS}
|
||||||
|
|
||||||
[cpu-stress]
|
[cpu-stress]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user