sysstat.gplot 773 B

1234567891011121314151617181920212223242526272829
  1. ############################
  2. # Display the system load values
  3. #
  4. # Corresponding FileLog definition:
  5. # define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
  6. # attr sysstatlog nrarchive 1
  7. #
  8. # Corresponding FileLog definition:
  9. # define svg_sysstat SVG sysstatlog:sysstat:CURRENT
  10. # attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
  11. # attr wl_sysstat room System
  12. set terminal png transparent size <SIZE> crop
  13. set output '<OUT>.png'
  14. set xdata time
  15. set timefmt "%Y-%m-%d_%H:%M:%S"
  16. set xlabel " "
  17. set title '<L1>'
  18. set ylabel "Load"
  19. set y2label "&#xb0;C"
  20. #FileLog 4:load:0:
  21. #FileLog 4:temperature:0:
  22. plot \
  23. 1:2 ls l0 axes x1y1 title 'Load' with lines
  24. 1:2 ls l2 axes x1y2 title 'Temperature (&#xb0;C)' with lines