2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00
fhem-mirror/fhem/www/gplot/SM_DB_CPUTemp.gplot

25 lines
613 B
Plaintext
Raw Normal View History

# SYSMON
#
# Anzeige der gemessenen CPU Temperatur und des errechneten Durchschnitts
#
set readonly
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set grid ytics y2tics
set ylabel "Temperatur"
set y2label "Temperatur"
#DbLog <SPEC1>:cpu_temp:::
#DbLog <SPEC1>:cpu_temp_avg:::
plot \
"< awk '/load avg:/ {print $1, $4}' <IN>" \
using 1:2 ls l0 axes x1y1 title 'Temp' lw 1 with lines \
"< awk '/load avg5:/ {print $1, $4}' <IN>" \
using 1:2 ls l1 axes x1y1 title 'Temp' lw 2 with lines \