[rrd-users] Re: how to draw a (high-water mark) line across a graph ??
Alex van den Bogaerdt
alex at ergens.op.het.net
Tue Feb 24 10:13:18 MET 2004
On Mon, Feb 23, 2004 at 10:55:15PM -0800, Eric Ho wrote:
> How can I draw a high-water mark line across a graph ?
1: find out the high-water mark
2: draw the line.
For #1: use rrdtool without graphing elements, use PRINT in stead
(that's PRINT, not GPRINT !!!) with, in this case, MAX.
For #2: use HLINE in your grapher script, with a variable in the
calling script (NOT in the rrdtool command input).
For instance in bash:
highwater=`rrdtool graph ... PRINT:ds0:MAX:%6.2lf`
echo DEBUG: highwater=${highwater}
rrdtool graph ... HLINE:${highwater}#F00
HTH
Alex
--
begin sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags
--
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