[rrd-users] Re: normalisation

thomas peter thomas at braindumped.com
Thu Apr 27 13:48:04 MEST 2006


Am 27.4.2006 schrieb "Alex van den Bogaerdt" <alex at ergens.op.het.net>:
>You don't need to know "n".  All you need to have is a timestamp that
>is a multiple of 300.  There are several ways of getting there.
>
>Get the current time in unix-seconds-since-epoch format.  Divide by
>300, get rid of any fractional part, multiply by 300. Compute
>'int(the_time / 300) * 300'

really simple.
i think i got it. :)
thank you!
cheers
thomas

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