<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.4064" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Courier New"><FONT size=2>We have drraw v2.2a3 implemented on
Red Hat and<SPAN class=487542814-19072007> </SPAN>are successful in generating
graphs that depict Data Sources from RRAs<SPAN class=487542814-19072007>
</SPAN>that we have captured. Typical CDEFs and VDEFs such as Average and
95th<SPAN class=487542814-19072007> </SPAN>percentile also produced <SPAN
class=487542814-19072007>graphs </SPAN>as <SPAN
class=487542814-19072007>one would </SPAN>expect. However, we are having<SPAN
class=487542814-19072007> </SPAN>difficulty displaying a projection with the
Least Squares Line VDEF<SPAN class=487542814-19072007> </SPAN>operators
LSLSLOPE, LSLINT, and LSLCORREL. <SPAN class=487542814-19072007>We
suspect</SPAN> a usage issue, however<SPAN class=487542814-19072007>
</SPAN>we <SPAN class=487542814-19072007>are also questioning whether the
operators are usable with the 'beater' code</SPAN>. <SPAN
class=487542814-19072007>Here is the rrd invocation from
drraw </SPAN>we have at the moment<SPAN
class=487542814-19072007>:</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=487542814-19072007></SPAN> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Courier New"><SPAN
class=487542814-19072007><FONT face=Arial>rrdtool graph -
\<BR> --start=end-86400 \<BR> --title=CPU Projection
\<BR> --vertical-label=Utilization \<BR> --imgformat=PNG
\<BR> --width=600 \<BR> --base=1000 \<BR> --height=200
\<BR> --interlaced
\<BR> DEF:a=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:UserPct:AVERAGE
\<BR> DEF:b=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:SysPct:AVERAGE
\<BR> DEF:c=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:WaitPct:AVERAGE
\<BR> CDEF:G=a,b,c,+,+ \<BR> VDEF:D=G,LSLSLOPE
\<BR> VDEF:H=G,LSLINT \<BR> VDEF:F=G,LSLCORREL
\<BR> LINE1:G#FFA500: Usr+Sys+Wait \<BR> LINE1:D#000080:Slope
\<BR> LINE1:H#FF0000: \<BR> LINE1:F#008000: </FONT></SPAN></DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT> </DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>and the graph that is
generated:</FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><IMG height=831 src="cid:487542814@19072007-1FFF" width=1197><BR><BR></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>Realizing <FONT
face="Courier New">v2.2a3</FONT> is beta, and noting a comment by Alex: "In
RRDtool 1.2 I made a start with VDEF processing. VDEFs aren't arrays like CDEFs
are, they are single values. The work is far from finished, however certain
functions are already usable."( </FONT></SPAN><SPAN
class=487542814-19072007><FONT face=Arial><A
href="http://www.vandenbogaerdt.nl/rrdtool/total.php">http://www.vandenbogaerdt.nl/rrdtool/total.php</A> ),
the questions follow:</FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>(1) Are the VDEF operators
LSLSLOPE, LSLINT, and LSLCORREL usable in drraw v2.2a3?</FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>(2) Should the vnames be
placed into a linear equation: y=LSLSLOPE*LSLCORREL+LSLINT ?</FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial> We tried to
add a <FONT size=2>CDEF definition substituting VDEF vnames in a vpn format
(D,F,*,H,+)</FONT> and </FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial> received
an error from drraw stating "<FONT size=2>rpn expressions without DEF or CDEF
variables are not supported"</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>(3) Has anyone generated a
least squares projection with rrdtool similar to the following? If so what is
the rrd invocation?</FONT></SPAN></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT></FONT><TT><BR></TT><IMG
src="cid:487542814@19072007-1FF8"><TT><BR><BR></DIV></TT><TT></TT></FONT></BODY></HTML>