SM_Load.gplot 728 B

123456789101112131415161718192021222324252627282930313233343536
  1. # SYSMON
  2. #
  3. # Anzeige: system load
  4. #
  5. # Beispiel aus dem Logfile:
  6. # 2013-11-18_21:33:17 sysmon loadavg: 0.11 0.11 0.17
  7. #
  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 title '<L1>'
  16. set grid xtics y2tics
  17. set y2label "Load average"
  18. #FileLog 4:load:0:
  19. #FileLog 5:load:0:
  20. #FileLog 6:load:0:
  21. plot \
  22. "< awk '/load avg:/ {print $1, $4}' <IN>" \
  23. using 1:2 ls l8fill axes x1y1 title '1 min' lw 0 with lines \
  24. "< awk '/load avg5:/ {print $1, $4}' <IN>" \
  25. using 1:2 ls l0 axes x1y1 title '5 min' lw 2 with lines \
  26. "< awk '/load avg15:/ {print $1, $4}' <IN>" \
  27. using 1:2 ls l4 axes x1y1 title '15 min' lw 3 with lines