slitaz-forge diff pangolin/makegraphs @ rev 561
makegraphs: align graphs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 15 14:46:54 2014 +0000 (2014-05-15) |
parents | a051edb6f25e |
children | 37fadd188b73 |
line diff
1.1 --- a/pangolin/makegraphs Sun Jun 09 22:46:11 2013 +0200 1.2 +++ b/pangolin/makegraphs Thu May 15 14:46:54 2014 +0000 1.3 @@ -44,6 +44,7 @@ 1.4 END { if (n > 1) printf " %dx",n; print s }')" 1.5 rrdtool graph "$rrdgraph/cpu-$period.png" --start -1$period \ 1.6 $rrdgraphargs -l 0 -u 100 -t "cpu usage per $period [$info ]" \ 1.7 + -v " " \ 1.8 DEF:user=$rrdlog/cpu.rrd:user:AVERAGE \ 1.9 DEF:system=$rrdlog/cpu.rrd:system:AVERAGE \ 1.10 DEF:idle=$rrdlog/cpu.rrd:idle:AVERAGE \ 1.11 @@ -87,6 +88,7 @@ 1.12 rrdtool graph "$rrdgraph/memory-$period.png" --start -1$period \ 1.13 $rrdgraphargs -l 0 -u 100 \ 1.14 -t "memory usage per $period [ $info + $info2 swap ]" \ 1.15 + -v " " \ 1.16 DEF:used=$rrdlog/mem.rrd:memused:AVERAGE \ 1.17 DEF:free=$rrdlog/mem.rrd:memfree:AVERAGE \ 1.18 DEF:shared=$rrdlog/mem.rrd:memshared:AVERAGE \