slitaz-forge rev 339

makegraphs: cpu temperature range is 0..100 C
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 22 10:43:15 2012 +0100 (2012-11-22)
parents 5f0604259322
children 1c91849054bd
files chub/web/lib/makegraphs tank/web/lib/makegraphs
line diff
     1.1 --- a/chub/web/lib/makegraphs	Sun Nov 04 21:23:50 2012 +0100
     1.2 +++ b/chub/web/lib/makegraphs	Thu Nov 22 10:43:15 2012 +0100
     1.3 @@ -23,7 +23,7 @@
     1.4  			DS:iowait:COUNTER:600:0:500000000 \
     1.5  			DS:irq:COUNTER:600:0:500000000 \
     1.6  			DS:softirq:COUNTER:600:0:500000000 \
     1.7 -			DS:celsius:GAUGE:600:0:50000 \
     1.8 +			DS:celsius:GAUGE:600:0:100000 \
     1.9  			RRA:AVERAGE:0.5:1:576  RRA:AVERAGE:0.5:6:672 \
    1.10  			RRA:AVERAGE:0.5:24:732 RRA:AVERAGE:0.5:144:1460
    1.11  	grep '^cpu' /proc/stat | while read cpu user nice system idle iowait irq softirq misc; do
     2.1 --- a/tank/web/lib/makegraphs	Sun Nov 04 21:23:50 2012 +0100
     2.2 +++ b/tank/web/lib/makegraphs	Thu Nov 22 10:43:15 2012 +0100
     2.3 @@ -23,7 +23,7 @@
     2.4  			DS:iowait:COUNTER:600:0:500000000 \
     2.5  			DS:irq:COUNTER:600:0:500000000 \
     2.6  			DS:softirq:COUNTER:600:0:500000000 \
     2.7 -			DS:celsius:GAUGE:600:0:50000 \
     2.8 +			DS:celsius:GAUGE:600:0:100000 \
     2.9  			RRA:AVERAGE:0.5:1:576  RRA:AVERAGE:0.5:6:672 \
    2.10  			RRA:AVERAGE:0.5:24:732 RRA:AVERAGE:0.5:144:1460
    2.11  	grep '^cpu' /proc/stat | while read cpu user nice system idle iowait irq softirq misc; do