I think not.

I like to do it in bash, b.t.w., looks just as good as my average perl code:

rrdtool dump database.rrd | grep '<row>' | sed 's/^[     ]*//;s/[        ]*$//' 
| cut -d" " -f9,6 | awk '{print $2,$1}' | sort -g | tail -1 | cut -d" " -f2

Serge.

> -----Original Message-----
> From: Stephan Harren [mailto:[EMAIL PROTECTED]
> 
> Hi All,
> 
> is there an easier way to find out the timestamps of 
> MAX-/MIN-values without 
> using bash or something than the one I found (see below)?
> 
> /usr/local/rrdtool-1.0.45/bin/rrdtool graph -a PNG test.png 
> ...
> PRINT:maxtime:LAST:"maxtime %.0lf" PRINT:mintime:LAST:"mintime %.0lf"
> 
> Best regards,
> Stephan

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

Reply via email to