Usenet Forums

Usenet Forums (http://www.usenet-forums.com/)
-   RRD Users (http://www.usenet-forums.com/rrd-users/)
-   -   [rrd-users] generating PRINT, (http://www.usenet-forums.com/rrd-users/383774-rrd-users-generating-print.html)

Jack Tavares 03-24-2008 10:14 AM

[rrd-users] generating PRINT,
 
This is a multi-part message in MIME format.

--===============1108349807==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C88D8D.BBE70155"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C88D8D.BBE70155
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am calling the graph functionality, but I am not actually generating =
the graph, I just want to generate PRINT output
=20
I specify the start and end times for all DEFs
=20
I have 2 identical calls,=20
=20
one I also specify the start and end time for "the graph" and one that I =
do not.
=20
I get different results for the exact same time frames.
Why would this be?
I assumed that setting the start and end on the DEFs would be the =
definitive setting.
=20
Here are the commands and the outputs
with start end time specified
command=3D/shared/tools/rrdtemp/bin/rrdtool graph =
/usr/local/www/tmui/tmui/system/stats/images/Dummy.png -s 1206334663 -e =
1206345463 =
DEF:Ruser=3D/var/rrd/rollupcpu:Ruser:AVERAGE:start=3D1206334663:end=3D1 20=
6345463 =
DEF:Rsystem=3D/var/rrd/rollupcpu:Rsystem:AVERAGE:start=3D1206334663:end=3 D=
1206345463 CDEF:Utilizationcdef=3DRuser,Rsystem,+ =
VDEF:UtilizationcdefLAST=3DUtilizationcdef,LAST =
PRINT:UtilizationcdefLAST:%.2lf%s =
VDEF:UtilizationcdefAVERAGE=3DUtilizationcdef,AVER AGE =
PRINT:UtilizationcdefAVERAGE:%.2lf%s =
VDEF:UtilizationcdefMAXIMUM=3DUtilizationcdef,MAXI MUM =
PRINT:UtilizationcdefMAXIMUM:%.2lf%s
0x0
1.02k
3.66k
103.63k
=20
=20
without start end time specified
command=3D/shared/tools/rrdtemp/bin/rrdtool graph =
/usr/local/www/tmui/tmui/system/stats/images/Dummy.png =
DEF:Ruser=3D/var/rrd/rollupcpu:Ruser:AVERAGE:start=3D1206334663:end=3D1 20=
6345463 =
DEF:Rsystem=3D/var/rrd/rollupcpu:Rsystem:AVERAGE:start=3D1206334663:end=3 D=
1206345463 CDEF:Utilizationcdef=3DRuser,Rsystem,+ =
VDEF:UtilizationcdefLAST=3DUtilizationcdef,LAST =
PRINT:UtilizationcdefLAST:%.2lf%s =
VDEF:UtilizationcdefAVERAGE=3DUtilizationcdef,AVER AGE =
PRINT:UtilizationcdefAVERAGE:%.2lf%s =
VDEF:UtilizationcdefMAXIMUM=3DUtilizationcdef,MAXI MUM =
PRINT:UtilizationcdefMAXIMUM:%.2lf%s
0x0
1.03k
3.49k
20.57k


------_=_NextPart_001_01C88D8D.BBE70155
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV><FONT face=3DArial color=3D#000000 size=3D2>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>I am =
calling the graph functionality, but&nbsp;I am not actually generating =
the graph, I just want to generate PRINT output</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>I =
specify the start and end times for all DEFs</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>I have =
2 identical calls, </FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>one I =
also specify the start and end time for "the graph" and one that I do =
not.</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>I get =
different results for the exact same time frames.</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>Why =
would this be?</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>I =
assumed that setting the start and end on the DEFs would be the =
definitive setting.</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008><FONT face=3DArial size=3D2>Here =
are the commands and the outputs</FONT></SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008>with start end time =
specified<BR>command=3D/shared/tools/rrdtemp/bin/rrdtool graph =
/usr/local/www/tmui/tmui/system/stats/images/Dummy.png&nbsp; -s =
1206334663 -e 1206345463 =
DEF:Ruser=3D/var/rrd/rollupcpu:Ruser:AVERAGE:start=3D1206334663:end=3D1 20=
6345463 =
DEF:Rsystem=3D/var/rrd/rollupcpu:Rsystem:AVERAGE:start=3D1206334663:end=3 D=
1206345463 CDEF:Utilizationcdef=3DRuser,Rsystem,+ =
VDEF:UtilizationcdefLAST=3DUtilizationcdef,LAST =
PRINT:UtilizationcdefLAST:%.2lf%s =
VDEF:UtilizationcdefAVERAGE=3DUtilizationcdef,AVER AGE =
PRINT:UtilizationcdefAVERAGE:%.2lf%s =
VDEF:UtilizationcdefMAXIMUM=3DUtilizationcdef,MAXI MUM =
PRINT:UtilizationcdefMAXIMUM:%.2lf%s<BR>0x0<BR>1.0 2k<BR>3.66k<BR>103.63k<=
/SPAN></DIV>=0A=
<DIV><SPAN class=3D296545308-24032008></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008></SPAN>&nbsp;</DIV>=0A=
<DIV><SPAN class=3D296545308-24032008>without start end time =
specified<BR>command=3D/shared/tools/rrdtemp/bin/rrdtool graph =
/usr/local/www/tmui/tmui/system/stats/images/Dummy.png =
DEF:Ruser=3D/var/rrd/rollupcpu:Ruser:AVERAGE:start=3D1206334663:end=3D1 20=
6345463 =
DEF:Rsystem=3D/var/rrd/rollupcpu:Rsystem:AVERAGE:start=3D1206334663:end=3 D=
1206345463 CDEF:Utilizationcdef=3DRuser,Rsystem,+ =
VDEF:UtilizationcdefLAST=3DUtilizationcdef,LAST =
PRINT:UtilizationcdefLAST:%.2lf%s =
VDEF:UtilizationcdefAVERAGE=3DUtilizationcdef,AVER AGE =
PRINT:UtilizationcdefAVERAGE:%.2lf%s =
VDEF:UtilizationcdefMAXIMUM=3DUtilizationcdef,MAXI MUM =
PRINT:UtilizationcdefMAXIMUM:%.2lf%s<BR>0x0<BR>1.0 3k<BR>3.49k<BR>20.57k<B=
R></SPAN></DIV></FONT></DIV></BODY></HTML>
------_=_NextPart_001_01C88D8D.BBE70155--


--===============1108349807==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============1108349807==--



All times are GMT +1. The time now is 08:46 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0