Mercurial > repos > other > usr-local-bin
comparison sensors-graph @ 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 | 6e30e90527d6 |
children | 90f863410bbc |
comparison
equal
deleted
inserted
replaced
34:fb4dd1974129 | 35:5697821137de |
---|---|
8 fi | 8 fi |
9 | 9 |
10 rrdtool graph /tmp/temps.png -w 800 -h 600 -a PNG --start "$start" \ | 10 rrdtool graph /tmp/temps.png -w 800 -h 600 -a PNG --start "$start" \ |
11 --vertical-label "temps" \ | 11 --vertical-label "temps" \ |
12 --right-axis-label "speeds" \ | 12 --right-axis-label "speeds" \ |
13 --right-axis 50:0 \ | 13 --right-axis 100:0 \ |
14 DEF:core1=$HOME/.temps.rrd:core1-temp:AVERAGE \ | 14 DEF:core1=$HOME/.temps.rrd:core1-temp:AVERAGE \ |
15 DEF:core2=$HOME/.temps.rrd:core2-temp:AVERAGE \ | 15 DEF:core2=$HOME/.temps.rrd:core2-temp:AVERAGE \ |
16 DEF:core3=$HOME/.temps.rrd:core3-temp:AVERAGE \ | 16 DEF:core3=$HOME/.temps.rrd:core3-temp:AVERAGE \ |
17 DEF:core4=$HOME/.temps.rrd:core4-temp:AVERAGE \ | 17 DEF:core4=$HOME/.temps.rrd:core4-temp:AVERAGE \ |
18 DEF:isa1=$HOME/.temps.rrd:isa-temp1:AVERAGE \ | 18 DEF:isa1=$HOME/.temps.rrd:isa-temp1:AVERAGE \ |
22 DEF:gpufan_raw=$HOME/.temps.rrd:gpu-fan:AVERAGE \ | 22 DEF:gpufan_raw=$HOME/.temps.rrd:gpu-fan:AVERAGE \ |
23 DEF:fan1_raw=$HOME/.temps.rrd:fan1:AVERAGE \ | 23 DEF:fan1_raw=$HOME/.temps.rrd:fan1:AVERAGE \ |
24 DEF:fan2_raw=$HOME/.temps.rrd:fan2:AVERAGE \ | 24 DEF:fan2_raw=$HOME/.temps.rrd:fan2:AVERAGE \ |
25 DEF:fan3_raw=$HOME/.temps.rrd:fan3:AVERAGE \ | 25 DEF:fan3_raw=$HOME/.temps.rrd:fan3:AVERAGE \ |
26 DEF:fan4_raw=$HOME/.temps.rrd:fan4:AVERAGE \ | 26 DEF:fan4_raw=$HOME/.temps.rrd:fan4:AVERAGE \ |
27 CDEF:fan1=fan1_raw,0.25,* \ | 27 CDEF:fan1=fan1_raw,0.01,* \ |
28 CDEF:fan2=fan2_raw,0.25,* \ | 28 CDEF:fan2=fan2_raw,0.01,* \ |
29 CDEF:fan3=fan3_raw,0.25,* \ | 29 CDEF:fan3=fan3_raw,0.01,* \ |
30 CDEF:fan4=fan4_raw,0.25,* \ | 30 CDEF:fan4=fan4_raw,0.01,* \ |
31 CDEF:gpufan=gpufan_raw,0.5,* \ | 31 CDEF:gpufan=gpufan_raw,0.25,* \ |
32 LINE1:gpu#009900:"GPU" \ | 32 LINE1:gpu#009900:"GPU" \ |
33 LINE1:core1#99000080:"Core 1" \ | 33 LINE1:core1#99000080:"Core 1" \ |
34 LINE1:core2#99000080:"Core 2" \ | 34 LINE1:core2#99000080:"Core 2" \ |
35 LINE1:core3#99000080:"Core 3" \ | 35 LINE1:core3#99000080:"Core 3" \ |
36 LINE1:core4#99000080:"Core 4" \ | 36 LINE1:core4#99000080:"Core 4" \ |
37 LINE1:isa1#bbbb66:"ISA 1" \ | 37 LINE1:isa1#bbbb66:"ISA 1" \ |
38 LINE1:isa2#bbbb66:"ISA 2" \ | 38 LINE1:isa2#bbbb66:"ISA 2" \ |
39 LINE1:isa3#bbbb66:"ISA 3" \ | 39 LINE1:isa3#bbbb66:"ISA 3" \ |
40 AREA:fan1#00009980:"CPU Fan" \ | 40 AREA:fan1#00009980:"CPU Fan" \ |
41 AREA:fan2#00009980:"Rear Fan" \ | 41 AREA:fan2#00009980:"Rear Fan" \ |
42 AREA:gpufan#00990080:"GPU Fan" \ | |
42 AREA:fan3#00009980:"Front Fan 1" \ | 43 AREA:fan3#00009980:"Front Fan 1" \ |
43 AREA:fan4#00009980:"Front Fan 2" \ | 44 AREA:fan4#00009980:"Front Fan 2" \ |
44 AREA:gpufan#00990080:"GPU Fan" \ | |
45 && eog /tmp/temps.png | 45 && eog /tmp/temps.png |
46 rm /tmp/temps.png | 46 rm /tmp/temps.png |