Compare commits
2 Commits
afeed22a4d
...
b8c8a18db3
| Author | SHA1 | Date | |
|---|---|---|---|
| b8c8a18db3 | |||
| 87540bf04b |
11
bin/measure_temp.sh
Executable file
11
bin/measure_temp.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
START=$(date +%s)
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
NOW=$(date +%s)
|
||||||
|
TS=$((NOW - START))
|
||||||
|
TEMP=$(vcgencmd measure_temp | sed 's/[^0-9.]//g')
|
||||||
|
echo "$TS $TEMP"
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
5
bin/run-cpu-stress.sh
Executable file
5
bin/run-cpu-stress.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
temp_data.sh > temp.log &
|
||||||
|
TPID=$!
|
||||||
|
fio ~/git/fio/jobs/fio_cpu
|
||||||
|
kill $TPID
|
||||||
|
|
||||||
Reference in New Issue
Block a user