From: Chris Koeritz Date: Sat, 30 Sep 2017 22:24:15 +0000 (-0400) Subject: simple logger for cpu temperatures X-Git-Tag: 2.140.90~155 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d98ddc0e5370272d52c828646e840a8feecc2633;p=feisty_meow.git simple logger for cpu temperatures --- diff --git a/scripts/system/cpu_heat_logger.sh b/scripts/system/cpu_heat_logger.sh new file mode 100644 index 00000000..ecf3f6aa --- /dev/null +++ b/scripts/system/cpu_heat_logger.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# queries the cpu temperature using the sensors system (must be installed) and writes the +# results to an ongoing log file as well as standard output. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" + +(while true; do sleep 1m ; sensors; sep; done) | tee -a ${TMP}/cpu_temp.log + +