[rrd-users] Re: Getting the timestamp corresponding to MAX value
    Alex van den Bogaerdt 
    alex at ergens.op.het.net
       
    Fri May 12 10:55:20 MEST 2006
    
    
  
On Thu, May 11, 2006 at 06:31:14AM -0700, Praveen P wrote:
> According to 'Variables' section of the page
> (http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html),
> TIME does not seem to work in a VDEF.
> 
> Also for MAXIMUM, MINIMUM, AVERAGE, it mentions that
> it 
> "Return the corresponding value. MAXIMUM and MINIMUM
> also return the first occurrence of that value in the
> time component". 
> 
> Can you please give me an example of
> how to get the time component mentioned here ?
rrdtool graph nul DEF:a=test.rrd:ds0:AVERAGE VDEF:b=a,MINIMUM PRINT:b:"%c"
Use "%c" and nothing more in your print statement.  Other options
are currently not implemented.  Development of this feature has
stalled.  Perhaps it's time to pick it up again.  There does however
not seem to be much demand for it, eventhough it seemed a good idea.
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
    
    
More information about the rrd-users
mailing list