power8top10.gplot/SM_DB_all.gplot: removed CR/LF (Forum #24017)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5987 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-05-27 10:13:30 +00:00
parent afbc27ecb3
commit 1eeb47b885
2 changed files with 66 additions and 66 deletions

View File

@ -1,36 +1,36 @@
# SYSMON # SYSMON
# #
# Anzeige verschiedener Statistiken aus SYSMON (DbLog) # Anzeige verschiedener Statistiken aus SYSMON (DbLog)
# #
set terminal png transparent size <SIZE> crop set terminal png transparent size <SIZE> crop
set output '<OUT>.png' set output '<OUT>.png'
set xdata time set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S" set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " " set xlabel " "
set title '<L1>' set title '<L1>'
set ytics set ytics
set grid ytics y2tics set grid ytics y2tics
set ylabel "Temperatur" set ylabel "Temperatur"
set y2label "Last" set y2label "Last"
#DbLog <SPEC1>:cpu_temp::: #DbLog <SPEC1>:cpu_temp:::
#DbLog <SPEC1>:cpu_temp_avg::: #DbLog <SPEC1>:cpu_temp_avg:::
#DbLog <SPEC1>:cpu_freq::: #DbLog <SPEC1>:cpu_freq:::
#DbLog <SPEC1>:loadavg:::$val=~s/([\d.]*).[\d.]*.[\d.]*/$1/eg #DbLog <SPEC1>:loadavg:::$val=~s/([\d.]*).[\d.]*.[\d.]*/$1/eg
#DbLog <SPEC1>:loadavg:::$val=~s/[\d.]*.([\d.]*).[\d.]*/$1/eg #DbLog <SPEC1>:loadavg:::$val=~s/[\d.]*.([\d.]*).[\d.]*/$1/eg
#DbLog <SPEC1>:loadavg:::$val=~s/[\d.]*.[\d.]*.([\d.]*)/$1/eg #DbLog <SPEC1>:loadavg:::$val=~s/[\d.]*.[\d.]*.([\d.]*)/$1/eg
plot \ plot \
"< awk '/load avg:/ {print $1, $4}' <IN>" \ "< awk '/load avg:/ {print $1, $4}' <IN>" \
using 1:2 ls l0 axes x1y1 title 'Temp' lw 1 with lines \ using 1:2 ls l0 axes x1y1 title 'Temp' lw 1 with lines \
"< awk '/load avg5:/ {print $1, $4}' <IN>" \ "< awk '/load avg5:/ {print $1, $4}' <IN>" \
using 1:2 ls l1 axes x1y1 title 'Temp' lw 2 with lines \ using 1:2 ls l1 axes x1y1 title 'Temp' lw 2 with lines \
"< awk '/load avg:/ {print $1, $4}' <IN>" \ "< awk '/load avg:/ {print $1, $4}' <IN>" \
using 1:2 ls l2 axes x1y1 title 'MHz' lw 1 with lines \ using 1:2 ls l2 axes x1y1 title 'MHz' lw 1 with lines \
"< awk '/load avg5:/ {print $1, $4}' <IN>" \ "< awk '/load avg5:/ {print $1, $4}' <IN>" \
using 1:2 ls l3 axes x1y2 title '1 Min' lw 2 with lines \ using 1:2 ls l3 axes x1y2 title '1 Min' lw 2 with lines \
"< awk '/load avg:/ {print $1, $4}' <IN>" \ "< awk '/load avg:/ {print $1, $4}' <IN>" \
using 1:2 ls l4 axes x1y2 title '5 Min' lw 1 with lines \ using 1:2 ls l4 axes x1y2 title '5 Min' lw 1 with lines \
"< awk '/load avg5:/ {print $1, $4}' <IN>" \ "< awk '/load avg5:/ {print $1, $4}' <IN>" \
using 1:2 ls l5 axes x1y2 title '15 Min' lw 2 with lines \ using 1:2 ls l5 axes x1y2 title '15 Min' lw 2 with lines \

View File

@ -1,30 +1,30 @@
############################ ############################
# Display the power reported by the EM1000FM received bei CUL # Display the power reported by the EM1000FM received bei CUL
#set terminal png transparent size <SIZE> crop #set terminal png transparent size <SIZE> crop
set terminal png size <SIZE> crop set terminal png size <SIZE> crop
set output '<OUT>.png' set output '<OUT>.png'
set xdata time set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S" set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel "Energiemonitor EM1000EM" set xlabel "Energiemonitor EM1000EM"
set title '<L1>' set title '<L1>'
set ylabel "Power (kW)" set ylabel "Power (kW)"
set y2label "Power (kWh)" set y2label "Power (kWh)"
set grid set grid
set ytics set ytics
set y2tics set y2tics
set logscale y set logscale y
set logscale y2 set logscale y2
set format y "%.1f" set format y "%.1f"
set format y2 "%.1f" set format y2 "%.1f"
#FileLog 8::0: #FileLog 8::0:
#FileLog 10::0: #FileLog 10::0:
plot \ plot \
"< awk '/5MIN:/ {print $1, $8}' <IN>"\ "< awk '/5MIN:/ {print $1, $8}' <IN>"\
using 1:2 axes x1y2 title 'kWh' with lines,\ using 1:2 axes x1y2 title 'kWh' with lines,\
"< awk '/TOP:/ {print $1, $10}' <IN>"\ "< awk '/TOP:/ {print $1, $10}' <IN>"\
using 1:2 axes x1y1 title 'Spitze kW' with lines using 1:2 axes x1y1 title 'Spitze kW' with lines