[rrd-users] Re: RES: Re: Graphics problem

Sunil Modi (IT) smodi at bordersgroupinc.com
Mon Oct 25 19:53:56 MEST 2004


> 
> Sunil Modi,
> 
> I read this document, but I don't understand what is 
> "epochtime:data:data:data"
> I'm not sure, what I must put there.
> 

epochtime is a julian time (seconds since 1970)
http://www.unixtimestamp.com/index.php
It's a ten digit number generally.

rrdupdate *.rrd 1098676800:15:20:55.3
basically the above is saying update *.rrd at this time (1098676800 = 10/24/2004 0h 0m 0s) with this:
data 1 = 15
data 2 = 20
data 3 = 55.3

hope that helps

Sunil

> 
> > 
> > Updating database ???
> > How to do this ?
> > Thank you.
> > Hugo
> > 
> > 
> It's a simple line.
> rrdupdate name_of_rrd.rrd epochtime:data:data:data
> 
> Or if you are using perl
> RRDs::update("$RRD","$epochtime:$data:$data:$data");
> 
> read the rrdtutorial.txt.  It has a very good starting point doc.
> 
> Good luck, and don't hesitate to ask questions.
> 
> Sunil Modi
> 

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