[rrd-users] Re: starting at 1970 / Pipe error / Absolute seconds on X-axis

Tobias Oetiker oetiker at ee.ethz.ch
Sun Aug 11 02:57:40 MEST 2002


Yesterday Alex van den Bogaerdt wrote:

>
> Cheng Hu wrote:
> >
> >
> > Hello,
> >
> > Problem 1
> > =========
> >
> > This may seem absurd but I have a need to specify --start 0 or some small
> > number with rrdtool create. That is, I want it to start timing from 0 or 1
> > seconds after 1970. However if I specify 0 or 1, the start time defaults
> > to now. If I specify 100 say, I get an error message asking if I meant
> > month 100 instead, but I don't. (If you really want to know why I need to
> > do this, I've included it at the end)
>
> The workaround probably is to use the following format:
>
> "--start"  "19700101 00:00"
>
> Note that this assumes UTC time.  For Europe, use time "19700101 01:00"
>
>
> This may not work because of internal checks in the code, in which case
> you really need to change the check.  That shouldn't be hard.

rrdtool regards all times before 1980 or so as invalid ...


cheers
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

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