[rrd-users] Re: Finding Max values with rrdtool fetch

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri May 3 22:52:19 MEST 2002


"Meece, Clifford T (MVC)" wrote:

> I'd rather not write more code to grab all these values and do the
> max/average calculation by myself, since I know it is very easy to do this
> with rrdtool graph, like (from some perl code):
> 
> qq{GPRINT:la:LAST:Current \\: %5.1lf\\n},
>             qq{GPRINT:la:MIN:Min     \\: %5.1lf\\n},
>             qq{GPRINT:la:AVERAGE:Average \\: %5.1lf\\n},
>             qq{GPRINT:la:MAX:Max     \\: %5.1lf\\n},

PRINT prints to stdout what GPRINT prints on the graph.  You do
have to use rrdtool graph, unless I misinterpreted your problem.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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