changeset 35:5697821137de

Revert graph changes after fixing value ordering Backed out changeset 6e30e90527d6
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Feb 2021 15:57:46 +0000
parents fb4dd1974129
children fe0a21557acd
files sensors-graph
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/sensors-graph	Sat Feb 27 15:57:09 2021 +0000
+++ b/sensors-graph	Sat Feb 27 15:57:46 2021 +0000
@@ -10,7 +10,7 @@
 rrdtool graph /tmp/temps.png -w 800 -h 600 -a PNG --start "$start" \
 	--vertical-label "temps" \
 	--right-axis-label "speeds" \
-	--right-axis 50:0 \
+	--right-axis 100:0 \
 	DEF:core1=$HOME/.temps.rrd:core1-temp:AVERAGE \
 	DEF:core2=$HOME/.temps.rrd:core2-temp:AVERAGE \
 	DEF:core3=$HOME/.temps.rrd:core3-temp:AVERAGE \
@@ -24,11 +24,11 @@
 	DEF:fan2_raw=$HOME/.temps.rrd:fan2:AVERAGE \
 	DEF:fan3_raw=$HOME/.temps.rrd:fan3:AVERAGE \
 	DEF:fan4_raw=$HOME/.temps.rrd:fan4:AVERAGE \
-	CDEF:fan1=fan1_raw,0.25,* \
-	CDEF:fan2=fan2_raw,0.25,* \
-	CDEF:fan3=fan3_raw,0.25,* \
-	CDEF:fan4=fan4_raw,0.25,* \
-	CDEF:gpufan=gpufan_raw,0.5,* \
+	CDEF:fan1=fan1_raw,0.01,* \
+	CDEF:fan2=fan2_raw,0.01,* \
+	CDEF:fan3=fan3_raw,0.01,* \
+	CDEF:fan4=fan4_raw,0.01,* \
+	CDEF:gpufan=gpufan_raw,0.25,* \
 	LINE1:gpu#009900:"GPU" \
 	LINE1:core1#99000080:"Core 1" \
 	LINE1:core2#99000080:"Core 2" \
@@ -39,8 +39,8 @@
 	LINE1:isa3#bbbb66:"ISA 3" \
 	AREA:fan1#00009980:"CPU Fan" \
 	AREA:fan2#00009980:"Rear Fan" \
+	AREA:gpufan#00990080:"GPU Fan" \
 	AREA:fan3#00009980:"Front Fan 1" \
 	AREA:fan4#00009980:"Front Fan 2" \
-	AREA:gpufan#00990080:"GPU Fan" \
 	&& eog /tmp/temps.png
 rm /tmp/temps.png