From d98ddc0e5370272d52c828646e840a8feecc2633 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 30 Sep 2017 18:24:15 -0400 Subject: [PATCH] simple logger for cpu temperatures --- scripts/system/cpu_heat_logger.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/system/cpu_heat_logger.sh 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 + + -- 2.34.1