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

Noah Leaman noah at mac.com
Fri Mar 5 11:53:48 MET 2004


doh! thanks... a little cut and paste error there :)

On Friday, March 5, 2004, at 02:32  AM, Serge Maandag wrote:

>> 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 :)
>

--
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