changeset 36:fe0a21557acd

Remove rogue "echo" from debugging
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Feb 2021 15:59:08 +0000
parents 5697821137de
children 90f863410bbc
files sensors-record
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sensors-record	Sat Feb 27 15:57:46 2021 +0000
+++ b/sensors-record	Sat Feb 27 15:59:08 2021 +0000
@@ -41,7 +41,6 @@
 	SENSORS=$(sensors | grep '^\(fan\|temp.*low\|Core\)' | sort | sed 's/Core /Core/g; s/^\([^:]\+\): [^0-9\.]*\([0-9\.]\+\)[^ ]*/\1 \2/g' | awk '{printf "%s:", $2}')
 	GPU=$(nvidia-smi -q | grep -oE "(Fan Speed|GPU Current Temp).*"|sort -r|cut -f2 -d:|cut -f2 -d" "|tr '\n' ':')
 	# "N" means record against current timestamp
-echo $SENSORS
 	rrdtool update "${DB}" "N:${SENSORS}${GPU%:}"
 	sleep 1
 done