mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
changed weblink reference to SVG
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5746 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0cdfdf79c5
commit
0d7054e3b6
@ -677,7 +677,7 @@ SYSSTAT_getStat($)
|
|||||||
<PRE>
|
<PRE>
|
||||||
define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
||||||
attr sysstatlog nrarchive 1
|
attr sysstatlog nrarchive 1
|
||||||
define wl_sysstat weblink fileplot sysstatlog:sysstat:CURRENT
|
define svg_sysstat SVG sysstatlog:sysstat:CURRENT
|
||||||
attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
||||||
attr wl_sysstat room System
|
attr wl_sysstat room System
|
||||||
</PRE></li>
|
</PRE></li>
|
||||||
@ -794,7 +794,7 @@ SYSSTAT_getStat($)
|
|||||||
<pre>
|
<pre>
|
||||||
define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
||||||
attr sysstatlog nrarchive 1
|
attr sysstatlog nrarchive 1
|
||||||
define wl_sysstat weblink fileplot sysstatlog:sysstat:CURRENT
|
define svg_sysstat SVG sysstatlog:sysstat:CURRENT
|
||||||
attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
||||||
attr wl_sysstat room System
|
attr wl_sysstat room System
|
||||||
</pre></li>
|
</pre></li>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
############################
|
############################
|
||||||
# Display the system load values
|
# Display the system load values
|
||||||
#
|
#
|
||||||
# Corresponding FileLog definition:
|
# Corresponding FileLog definition:
|
||||||
# define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
# define sysstatlog FileLog /usr/local/FHEM/var/log/sysstat-%Y-%m.log sysstat
|
||||||
# attr sysstatlog nrarchive 1
|
# attr sysstatlog nrarchive 1
|
||||||
#
|
#
|
||||||
# Corresponding FileLog definition:
|
# Corresponding FileLog definition:
|
||||||
# define wl_sysstat weblink fileplot sysstatlog:sysstat:CURRENT
|
# define svg_sysstat SVG sysstatlog:sysstat:CURRENT
|
||||||
# attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
# attr wl_sysstat label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
|
||||||
# attr wl_sysstat room System
|
# attr wl_sysstat room System
|
||||||
|
|
||||||
@ -18,7 +18,11 @@ set xlabel " "
|
|||||||
set title '<L1>'
|
set title '<L1>'
|
||||||
|
|
||||||
set ylabel "Load"
|
set ylabel "Load"
|
||||||
|
set y2label "°C"
|
||||||
|
|
||||||
#FileLog 4:load:0:
|
#FileLog 4:load:0:
|
||||||
|
#FileLog 4:temperature:0:
|
||||||
|
|
||||||
plot "< awk '/load:/ {print $1, $4}' <IN>" using 1:2 ls l0 axes x1y1 title 'Load' with lines
|
plot \
|
||||||
|
1:2 ls l0 axes x1y1 title 'Load' with lines
|
||||||
|
1:2 ls l2 axes x1y2 title 'Temperature (°C)' with lines
|
||||||
|
Loading…
x
Reference in New Issue
Block a user