changeset 33:6e30e90527d6

Make the fan graphs bigger They should take about the bottom half of the chart GPU also moved later to it is drawn on top and more obvious
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Feb 2021 15:40:41 +0000
parents ccc8f0903d2e
children fb4dd1974129
files sensors-graph
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/sensors-graph	Sat Feb 27 15:39:36 2021 +0000
+++ b/sensors-graph	Sat Feb 27 15:40:41 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 100:0 \
+	--right-axis 50: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.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,* \
+	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,* \
 	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