mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
2b9ba418d0
git-svn-id: https://svn.fhem.de/fhem/trunk@25790 2b470e98-0d58-463d-a4d8-8e2adae1ed80
25 lines
613 B
Plaintext
25 lines
613 B
Plaintext
# 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 \ |