[rrd-users] Re: two questions on entering time as seconds since epoch

Tobias Oetiker oetiker at ee.ethz.ch
Mon Mar 21 00:42:04 MET 2005


Yesterday Pete Lancashire wrote:

> Linux, Redhat Fedora FC1
>
> why can't one use time before 1980 ?
>
> export TZ=GMT
> rrdtool graph foo.gif --start="01/01/1970"
>
> ERROR: the first entry to fetch should be after 1980 (0)

the reason for the 1980 limit is that this prevents some neat
effects with time going negative and things like that ...

maybe it was not that whise a choice to use unix timestamps for
time ...

cheers
tobi
>
> -----------------
>
> how does one enter start/end time as seconds when the
> number of seconds is small, such as 10,000 seconds since
> epoch ?
>
> export TZ=GMT
> rrdtool graph foo.gif --start=000010000 ...
> ERROR: start time: did you really mean month 10000?
>
>
> Thanks ...
>
> -pete
>
>
> --
> 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
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

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