[rrd-users] Re: Help with Bash script to calc end-time in multiples of 300 ?

Alex van den Bogaerdt alex at ergens.op.het.net
Sun Nov 19 02:11:34 MET 2006


On Sun, Nov 19, 2006 at 10:07:47AM +1100, Rob Conway wrote:

> ## Aquarium PH GRAPH ##
> rrdtool graph /website/ph1d.png --start e-1d --end $etime \
> --upper-limit 8.0 --lower-limit 6.2 --units-length 2  \
> --rigid --slope-mode  --width 426 --height 200 \
> --title "pH" --vertical-label "PH" --interlaced \

Change one item at a time, and try a couple of times. This makes
sure you know the effect for each separate change, and you know
the time needed wasn't affected by other processes that also may
consume CPU cycles (at least: not a temporary running program).

Can't comment on "slope-mode". In general: try removing options
you don't really need. If it makes a difference, you can decide
what is more important; if it doesn't make a difference, it is
easy to put the option back in.

(when you've tried, please do report the outcome here for future
reference)

Duration 1d and width 426.  You may want to see if this could be
improved.  It now is 202.8169014 seconds per pixel.

Assuming step==300 seconds and an RRA where steps==1step:
Try duration 127800seconds (300*426) or width 288 pixels. Adjusting
the width is probably better, as it will use less resources thus
less time. I think this should help; also report back please.

HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list