[rrd-developers] Re: proposal for getting at <last></last> via rrdcgi

Tobias Oetiker oetiker at ee.ethz.ch
Fri Oct 1 20:50:50 MEST 1999


Today you sent me mail regarding Re: proposal for getting at <last></last>...:

*>  > From: Tobias Oetiker
*>  > how about makeing it 
*>  > <RRD::TIMESTR 'some-strftime-format' 'some.rrd'|'at-style-time'> 
*> 
*> Tell me more about your vision for the
*> 
*>  <RRD::TIMESTR 'some-strftime-format' 'at-style-time'> 
*> 
*> usage...
*> 
*> The time stamp in <last></last> is just the last update for a
*> whole RRD.  So it seems that the at-style-time usage (above)
*> must do something besides printing <last></last>?!

it can print the current time:

<RRD::TIMESTR 'some-strftime-format' now>


or the time from 3 days ago ...
<RRD::TIMESTR 'some-strftime-format' now-3d>

the point is that it allows you to print something like the --end argument
you have defined for the graph ... 

cheers
tobi


*> later
*> steve
*> - - -
*> systems guy
*> wiscnet.net
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-developers mailing list, send a message with the
  subject: unsubscribe to rrd-developers-request at list.ee.ethz.ch



More information about the rrd-developers mailing list