[rrd-users] Re: A script to help write RRAs

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri Mar 5 11:32:45 MET 2004


> The script (I call it rra_calc.pl) takes in 3 arguments. The --step, 
> number of steps, and number of rows. The output looks like this:
> 
> $ ./rra_calc.pl 300 1 288
> Data Retention Timeframe:   0y   1d   0s   0s   0s (86400 secs)
> Sample Resolution:          0y   0d   0s   5s   0s (300 secs)
> 
> This one uses a 10 minute (600 seconds) --step (or PDP) setting:
> 
> $ ./rra_calc.pl 600 144 1850
> Data Retention Timeframe:   5y  25d   0s   0s   0s (159840000 secs)
> Sample Resolution:          0y   1d   0s   0s   0s (86400 secs)

Well, that seems o.k., but it would be more readable if you use
h for hour and m for minute :)

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list