<!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&nbsp;<SPAN 
class=487542814-19072007>graphs </SPAN>as&nbsp;<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.&nbsp;<SPAN class=487542814-19072007>We 
suspect</SPAN>&nbsp;a usage issue, however<SPAN class=487542814-19072007> 
</SPAN>we&nbsp;<SPAN class=487542814-19072007>are also questioning whether the 
operators are usable with the 'beater' code</SPAN>.&nbsp;<SPAN 
class=487542814-19072007>Here is the rrd&nbsp;invocation from 
drraw&nbsp;</SPAN>we have at the moment<SPAN 
class=487542814-19072007>:</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=487542814-19072007></SPAN>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Courier New"><SPAN 
class=487542814-19072007><FONT face=Arial>rrdtool graph - 
\<BR>&nbsp;--start=end-86400 \<BR>&nbsp;--title=CPU Projection 
\<BR>&nbsp;--vertical-label=Utilization \<BR>&nbsp;--imgformat=PNG 
\<BR>&nbsp;--width=600 \<BR>&nbsp;--base=1000 \<BR>&nbsp;--height=200 
\<BR>&nbsp;--interlaced 
\<BR>&nbsp;DEF:a=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:UserPct:AVERAGE 
\<BR>&nbsp;DEF:b=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:SysPct:AVERAGE 
\<BR>&nbsp;DEF:c=/data/nmon2web/html/020256D3D/Shared/c0prd01/rrddata//cpu_all.rrd:WaitPct:AVERAGE 
\<BR>&nbsp;CDEF:G=a,b,c,+,+ \<BR>&nbsp;VDEF:D=G,LSLSLOPE 
\<BR>&nbsp;VDEF:H=G,LSLINT \<BR>&nbsp;VDEF:F=G,LSLCORREL 
\<BR>&nbsp;LINE1:G#FFA500: Usr+Sys+Wait \<BR>&nbsp;LINE1:D#000080:Slope 
\<BR>&nbsp;LINE1:H#FF0000:&nbsp; \<BR>&nbsp;LINE1:F#008000: </FONT></SPAN></DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><IMG height=831 src="cid:487542814@19072007-1FFF" width=1197><BR><BR></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</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."(&nbsp;</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>&nbsp;), 
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>&nbsp;&nbsp; We tried to 
add a <FONT size=2>CDEF definition substituting VDEF vnames in a vpn format 
(D,F,*,H,+)</FONT>&nbsp;and </FONT></SPAN></DIV>
<DIV><SPAN class=487542814-19072007><FONT face=Arial>&nbsp;&nbsp;&nbsp;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>&nbsp;</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>