One way $time = `date -d "today 00:00" +%s`; add to your graph "VRULE:$date......"
Now this only works if you are looking at the graphs for that day you need more logic when you are doing time shifting/viewing multiple days/weeks/months/years at a time. David > -----Original Message----- > From: Danny Bendersky [mailto:[EMAIL PROTECTED] > Sent: Friday, March 15, 2002 7:47 AM > To: [email protected] > Subject: [rrd-users] Question about VRULE > > > Hi, I want to try the VRULE option to graph a line at > midnight as MRTG does, > can some one give me an example in how I can do that? > > Thanks! > > > Saludos.... > > Daniel Bendersky. > > ------------------------------------------------------------------ > Danny Bendersky Technical Director for LA > [EMAIL PROTECTED] http://www.inter.net > Inter.Net Av. Vitacura # 2939 of. 202 > Office : (562) 751-2600 Las Condes, Santiago - CHILE > Cellular : (569) 539-6147 Fax : (562) 751-2611 > "Success is a journey, not a destination" > ------------------------------------------------------------------ > > > > -- > 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 -- 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
