From: Ben C. <Be...@cl...> - 2004-10-20 15:03:20
|
Sand Philipp wrote: > I'm interested in it :) > Maybe there would be a chance to include one check box for that in the = line where you can also select to draw a smooth graph, which is unchecked= by default. Ppl who wanne have those stats have to wait a little bit lon= ger than, but it would be nice to have such an option. Especially when yo= u make queries over an large timescale, it's nice to have those avg, min = and max values, to post it to the customer. I'll have to think about the check-box as this might not work with some=20 users. I am sure there is an elegant way of getting the stats. In the mean while, the hack to the code is simple. Find the file=20 cgi_graph.c and edit. Near the top, add the line: #define SHOW_STATS Edit the file perfchart.c and again near the top, add the above line. make install and let me know if it works. But please disable use of=20 http proxy for users wanting to see PP :) Regards, Ben >=20 > Thanks, > Philipp >=20 >=20 >>-----Original Message----- >>From: Ben Clewett [mailto:Be...@cl...]=20 >>Sent: Tuesday, October 19, 2004 5:19 PM >>To: Sand Philipp >>Cc: per...@li... >>Subject: Re: [Perfparse-users] 0.101.1 Statistics under Graph?? >> >>Sand Philipp wrote: >> >> >>>Hi, >>> >>>I just draw a few graphs with the new Version and was=20 >> >>pretty "shocked" that the hole Statistics Part under the=20 >>Graph are missing! Why did you remove that feature? >> >>>Would be great to have it back in 0.101.2 :-) >> >>Hi Philipp, >> >>I am sorry about that. The stats were originally calculated=20 >>separately.=20 >> This meant the graphs were slow, two reads of the database.=20 >> So I got them to calculate once and store in an external=20 >>file, at the same time as getting the data. Written by the=20 >>image program (perfchart.cgi), read by the HTML frame to the=20 >>graph (perfgraph.cgi) and displayed. >> >>I used a 'hack', by half showing the HTML including the URL=20 >>to the image. The image program would run. Then the rest of=20 >>the HTML would show including the stats :) Which I found out=20 >>later didn't work using a Proxy, as this fully assembles the=20 >>HTML before sending to client browser. This caused long=20 >>timeouts and strange errors, which I never got a good fix to. >> >>The only neat solution is to get the graph calling HTML to=20 >>assemble all the data in a tmp file, get the stats, then call=20 >>the graph to read the tmp file and display. Which was also=20 >>going to form the start of a cache to speed up graph drawing=20 >>by several orders. But not got there yet :) >> >>These will return at a later date. If you are not using PP=20 >>through a proxy server, it's easy to get the stats back. =20 >>I'll email you some instructions if you want. >> >>Regards, Ben. >> >> >> >> >> >>>Regards, >>>Philipp >>> >>> >>> >>>_____________________________ >>> >>>Philipp Sand >>>OC-CC-TEC-SYS >>> >>>SYCOR GmbH >>>Heinrich-von-Stephan-Stra=DFe 1-5 >>>D - 37073 G=F6ttingen >>> >>>Telefon +49 (0) 551 / 490 - 0 >>>Telefax +49 (0) 551 / 490 - 232468 >>> >>>phi...@sy... >>>www.sycor.de >>>------------------------------------------------ >>> >>> >>> >>>************************************************ >>> >>>sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustr= ie >>> >>>www.sycor-plastics.de >>> >>>************************************************ >>> >>> >>> >>> >>>Diese E-Mail ist vertraulich und kann dar=FCber hinaus=20 >> >>pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 >>bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die=20 >>E-Mail und deren Anh=E4nge sofort und benachrichtigen Sie uns=20 >>dar=FCber. Die Firma sycor willigt in keine Vertr=E4ge oder=20 >>vertragliche Verpflichtungen ein oder =FCbermittelt=20 >>rechtsverbindliche Angebote, die in Form von E-Mail versandt=20 >>werden, sofern dies nicht ausdr=FCcklich in schriftlicher Form=20 >>zwischen den Parteien vereinbart wurde. >> >>>This e-mail is confidential and may contain personal and/or=20 >> >>privileged information. If you are not the intended recipient=20 >>please delete this e-mail and all attachments immediately and=20 >>inform us. The company sycor does not agree with contracts or=20 >>contract obligations sent by e-mail, neither do we transmit=20 >>legally binding offers by e-mail, unless this is not=20 >>expressly agreed upon between the parties and documented in=20 >>written form. >> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on=20 >>>ITManagersJournal Use IT products in your business? Tell us=20 >> >>what you=20 >> >>>think of them. Give us Your Opinions, Get Free ThinkGeek Gift=20 >>>Certificates! Click to find out more=20 >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Perfparse-users mailing list >>>Per...@li... >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >> >> >=20 >=20 > ************************************************ >=20 > sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustri= e >=20 > www.sycor-plastics.de >=20 > ************************************************ >=20 >=20 >=20 >=20 > Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche In= formationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4n= ger sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und b= enachrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= rde. >=20 > This e-mail is confidential and may contain personal and/or privileged = information. If you are not the intended recipient please delete this e-m= ail and all attachments immediately and inform us. The company sycor does= not agree with contracts or contract obligations sent by e-mail, neither= do we transmit legally binding offers by e-mail, unless this is not expr= essly agreed upon between the parties and documented in written form. >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > Use IT products in your business? Tell us what you think of them. Give = us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users >=20 |