<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/5731" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-10-01T07:43:26-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/5731</id>

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-01T07:43:26-04:00</updated>

		<published>2003-10-01T07:43:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27794#p27794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27794#p27794"/>
		<title type="html"><![CDATA[Rrd::graph makes Segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27794#p27794"><![CDATA[
yes... but no <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>I'm generating different png, and only the egg knows which file it have to generate.<br>So I think than creating a schell script and running it by the egg is better, and it allows me to have only one file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 01, 2003 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-10-01T07:26:36-04:00</updated>

		<published>2003-10-01T07:26:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27792#p27792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27792#p27792"/>
		<title type="html"><![CDATA[Rrd::graph makes Segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27792#p27792"><![CDATA[
It is likely far better to use a cron job for generating the graphs.<br><br>Eggdrop can do any updates.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Oct 01, 2003 7:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-01T07:00:07-04:00</updated>

		<published>2003-10-01T07:00:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27790#p27790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27790#p27790"/>
		<title type="html"><![CDATA[Rrd::graph makes Segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27790#p27790"><![CDATA[
so it means we can't make graphs with multiples datas lines using the same Yaxis?<br>I hate this, but I think I'll have to generate shell scripts and then launch them, if no one had a better way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 01, 2003 7:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-10-01T06:54:00-04:00</updated>

		<published>2003-10-01T06:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27788#p27788</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27788#p27788"/>
		<title type="html"><![CDATA[Rrd::graph makes Segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27788#p27788"><![CDATA[
I have just come to report this on another thread here.<br><br>It looks like the number of arguements allowed is limited when using Rrd::graph.<br><br>After getting a rather odd Y axis, I can only apply one of the two definitions needed to cause the Y axis to return to normal.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Oct 01, 2003 6:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-01T06:29:42-04:00</updated>

		<published>2003-10-01T06:29:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27787#p27787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27787#p27787"/>
		<title type="html"><![CDATA[Rrd::graph makes Segment violation]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27787#p27787"><![CDATA[
Well, I don't know if it's eggdrop or TCL but I've a trouble with Rrd package:<br>When trying to do a Rrd::graph, I've a wonderful SEGMENT VIOLATION.<blockquote class="uncited"><div>Debug (eggdrop v1.6.15) written Wed Oct  1 12:06:24 2003<br>Full Patch List: <br>Tcl library: /usr/share/tcl8.3<br>Tcl version: 8.3.5 (header version 8.3.5)<br>Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H  <br>Link flags: gcc -pipe<br>Strip flags: strip<br>tclhash.c/684 [Tcl proc: stats:test, param:  $_dcc1 $_dcc2 $_dcc3]</div></blockquote>stats:test is a simple procedure wich just launch my Rrd::graph.<br>When putting the Rrd::graph in a file and launching it by shell, no trouble, my graph is correctly created.<br>Anyone understand which kind of trouble it might be?<br><strong class="text-strong">TCL call</strong><div class="codebox"><p>Code: </p><pre><code>Rrd::graph $rrdfiles/servers-day.png -a PNG -s -1day -v \"servers\/ircops\" -t \"Servers and ircops on line (1 day)\" DEF:totalservers=$rrdfiles/$main_serv.rrd:totalservers:AVERAGE DEF:maxservers=$rrdfiles/$main_serv.rrd:totalservers:MAX DEF:totalircops=$rrdfiles/$main_serv.rrd:ircops:AVERAGE DEF:maxircops=$rrdfiles/$main_serv.rrd:ircops:MAX DEF:usersglobal=$rrdfiles/$main_serv.rrd:usersglobal:AVERAGE CDEF:copsperserver=totalircops,totalservers,\/ CDEF:percircops=totalircops,100,*,usersglobal,\/ AREA:totalservers\#FF0000:\"Servers on line\" LINE2:totalircops\#000000:\"Ircops on line\\l\" GPRINT:totalservers:AVERAGE:\"Servers -&gt; Average\\: %lf\" GPRINT:maxservers:MAX:\"Max\\: %lf\" GPRINT:totalservers:LAST:\"Current\\: %lf\\l\" GPRINT:totalircops:AVERAGE:\"Ircops -&gt; Average\\: %lf\" GPRINT:maxircops:MAX:\"Max\\: %lf\" GPRINT:totalircops:LAST:\"Current\\: %lf\\l\" GPRINT:copsperserver:LAST:\"Ircops per Server\\: %lf\\l\" GPRINT:percircops:LAST:\"Ircops\\: %lf%% of total users\\l\"</code></pre></div><strong class="text-strong">file output <em class="text-italics">(replacing Rrd:graph by rrdtool graph)</em></strong><div class="codebox"><p>Code: </p><pre><code>rrdtool graph /home/eggdrop/ircmrtg/servers-day.png -a PNG -s -1day -v "servers/ircops" -t "Servers and ircops on line (1 day)" DEF:totalservers=/home/eggdrop/ircmrtg/irc.passion-tchat.com.rrd:totalservers:AVERAGE DEF:maxservers=/home/eggdrop/ircmrtg/irc.passion-tchat.com.rrd:totalservers:MAX DEF:totalircops=/home/eggdrop/ircmrtg/irc.passion-tchat.com.rrd:ircops:AVERAGE DEF:maxircops=/home/eggdrop/ircmrtg/irc.passion-tchat.com.rrd:ircops:MAX DEF:usersglobal=/home/eggdrop/ircmrtg/irc.passion-tchat.com.rrd:usersglobal:AVERAGE CDEF:copsperserver=totalircops,totalservers,/ CDEF:percircops=totalircops,100,*,usersglobal,/ AREA:totalservers#FF0000:"Servers on line" LINE2:totalircops#000000:"Ircops on line\l" GPRINT:totalservers:AVERAGE:"Servers -&gt; Average\: %lf" GPRINT:maxservers:MAX:"Max\: %lf" GPRINT:totalservers:LAST:"Current\: %lf\l" GPRINT:totalircops:AVERAGE:"Ircops -&gt; Average\: %lf" GPRINT:maxircops:MAX:"Max\: %lf" GPRINT:totalircops:LAST:"Current\: %lf\l" GPRINT:copsperserver:LAST:"Ircops per Server\: %lf\l" GPRINT:percircops:LAST:"Ircops\: %lf%% of total users\l"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Oct 01, 2003 6:29 am</p><hr />
]]></content>
	</entry>
	</feed>
