mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
44d0bd9fbf
git-svn-id: https://svn.fhem.de/fhem/trunk@4645 2b470e98-0d58-463d-a4d8-8e2adae1ed80
29 lines
620 B
Plaintext
29 lines
620 B
Plaintext
# SYSMON
|
|
#
|
|
# Network-Traffic WLAN0
|
|
#
|
|
# Beispiel aus dem Logfile:
|
|
# 2013-11-17_21:35:57 sysmon wlan0_diff: Received: 23.54 MB, Sent: 42.64 MB, Total: 66.18 MB
|
|
#
|
|
|
|
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 y2tics
|
|
set title '<L1>'
|
|
set grid xtics y2tics
|
|
|
|
set y2label "Traffic in MB"
|
|
|
|
#FileLog 5:wlan0_diff\x3a:0:
|
|
#FileLog 8:wlan0_diff\x3a:0:
|
|
|
|
plot \
|
|
"< egrep 'RX:' <IN>"\
|
|
using 1:5 axes x1y2 title 'Empfangen' ls l1 lw 2 with lines \
|
|
"< egrep 'TX:' <IN>"\
|
|
using 1:8 axes x1y2 title 'Gesendet' ls l0 lw 2 with lines
|