added script for mesuring core temperature and generating log file.

This commit is contained in:
2026-01-24 05:54:27 +01:00
parent 87540bf04b
commit b8c8a18db3

11
bin/measure_temp.sh Executable file
View 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