[rrd-users] Re: Timestamp MAX/MIN value
Stephan Harren
sh at abovenet.de
Thu Nov 6 17:56:52 MET 2003
Looks nice,
but if you want to graph and GPRINT on the command line, that wouldn't work.
Yes, I know, in a script I can do the "timestamp find-out" before graphing
and then graph the variable, but I find it quite unflexible.
Best regards,
Stephan
Am Donnerstag, 6. November 2003 17:48 schrieb Serge Maandag:
> 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.
--
Stephan Harren
Manager Site Operations
AboveNet Deutschland GmbH
-------------------------------
Phone +49 69 90554 153
Fax +49 69 90554 111
Cell +49 173 7011126
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list