Where I find this ten digit number ? Is it the ten digit number that to appear when I perform "./rrdtool fetch *.rrd AVERAGE" ? Cheers, Hugo
-----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Sunil Modi (IT) Enviada em: segunda-feira, 25 de outubro de 2004 14:54 Para: [EMAIL PROTECTED]; Zicarelli, Gabriel; [email protected] Assunto: [rrd-users] Re: RES: Re: Graphics problem > > 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Attached file removed by Ecartis and put at URL below -- -- Type: application/ms-tnef -- Size: 2k (2408 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/417D442F11482-winmail.dat -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
