SM_CPUTemp.gplot 873 B

1234567891011121314151617181920212223242526272829303132333435
  1. # SYSMON
  2. #
  3. # Anzeige der gemessenen CPU Temperatur und des errechneten Durchschnitts
  4. #
  5. # Beispiel aus dem Logfile:
  6. # 2013-11-16_23:06:05 sysmon cpu_temp_avg: 49.6
  7. # 2013-11-16_23:06:05 sysmon cpu_temp: 49.77
  8. #
  9. set terminal png transparent size <SIZE> crop
  10. set output '<OUT>.png'
  11. set xdata time
  12. set timefmt "%Y-%m-%d_%H:%M:%S"
  13. set xlabel " "
  14. set ytics
  15. set yrange [450:1050]
  16. set y2tics
  17. set title '<L1>'
  18. set grid xtics y2tics
  19. set ylabel "Frequenz"
  20. set y2label "Temperatur in C"
  21. #FileLog 4:cpu_temp_avg\x3a:0:
  22. #FileLog 4:cpu_temp\x3a:0:
  23. #FileLog 4:cpu_freq\x3a:0:
  24. plot \
  25. "< egrep 'cpu_temp_avg:' <IN>"\
  26. using 1:4 axes x1y2 title 'Durchschnitt' ls l4 lw 3 with lines \
  27. "< egrep 'cpu_temp:' <IN>"\
  28. using 1:4 axes x1y2 title 'Temperatur' ls l0 lw 1 with lines \
  29. "< egrep 'cpu_freq:' <IN>"\
  30. using 1:4 axes x1y1 title 'Frequenz' ls l1fill lw 1 with steps