<?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/15700" />

	<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>2008-05-06T07:36:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-05-05T09:05:01-04:00</updated>

		<published>2008-05-05T09:05:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82727#p82727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82727#p82727"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82727#p82727"><![CDATA[
<blockquote class="uncited"><div>... If someone knows how to 2&gt;/dev/null in TCL, please let me know...</div></blockquote>Would be something like this:<div class="codebox"><p>Code: </p><pre><code>set output [exec "command" "arg1" "arg" ... "argn" 2&gt; /dev/null]</code></pre></div>arg1 thru argn are optional and passed to the command as separate parameters, quotes are optional if there are no whitespaces in any of the argument but always recommended. "2&gt;" and "&lt;fileName&gt;" (/dev/null) must be two separate arguments (that is, use 2&gt; /dev/null not 2&gt;/dev/null)<br>See the exec(n) manpage for further information on possible redirections with exec.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon May 05, 2008 9:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arejay]]></name></author>
		<updated>2008-05-05T06:31:33-04:00</updated>

		<published>2008-05-05T06:31:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82725#p82725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82725#p82725"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82725#p82725"><![CDATA[
it seems it didnt take the my .chattr handle +S and my host was off. all is well now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9885">arejay</a> — Mon May 05, 2008 6:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-05-05T00:28:42-04:00</updated>

		<published>2008-05-05T00:28:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82721#p82721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82721#p82721"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82721#p82721"><![CDATA[
<blockquote class="uncited"><div>... [22:06] &lt;&lt;arejay&gt;&gt; !*! !sysinfo ...</div></blockquote> The display of "!*!" is usually an indication that the person using this command dosen't have an handle, have you checked that it requires the person to have a serton flag, that they have to be a valid user before it will display the output?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon May 05, 2008 12:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arejay]]></name></author>
		<updated>2008-05-04T22:10:48-04:00</updated>

		<published>2008-05-04T22:10:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82718#p82718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82718#p82718"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82718#p82718"><![CDATA[
ok. <br><br>did the following now. <br><br>#!/usr/local/bin/bash<br>/home/rj/bots/infowar2/scripts/sysinfo281.06.pl 2&gt;/dev/null<br><br>saved as sysinfo.sh and chmodded +x <br><br>(10:02 PM):(rj@cube)~/bots/infowar2/scripts$ ./sysinfo.sh<br>Hostname: cube - OS: FreeBSD 7.0-RELEASE/i386 - CPU: 2 x AMD Athlon MP 2800+ (2133.42 MHz) - Processes: 13 - Uptime: 5d 10h 58m - Users: 3 - Load Average: 1.19 - Memory Usage: 1317.20MB/2546.90MB (51.72%) - Disk Usage: 26.51GB/73.59GB (36.03%)<br><br><br>works fine in the shell. <br><br><br>doing !sysinfo in the channel <br><br>shows this in the console still<br><br><br>[22:06] &lt;&lt;arejay&gt;&gt; !*! !sysinfo<br><br>and no output to  the channel. <br><br>btw: i started fresh and downloaded a new copy of your sysinfo 1.11 script and only changed the line  for the .pl to use my sysinfo.sh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9885">arejay</a> — Sun May 04, 2008 10:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[burn]]></name></author>
		<updated>2008-05-04T20:25:58-04:00</updated>

		<published>2008-05-04T20:25:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82715#p82715</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82715#p82715"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82715#p82715"><![CDATA[
Its is not outputting anything to IRC because the perl script is crapping out at some point, due to OS security. Run it through bash instead.<br><br>sysinfo.sh<div class="codebox"><p>Code: </p><pre><code>#!/bin/bash&lt;full path&gt;/sysinfo281.06.pl 2&gt;/dev/null</code></pre></div>Change tcl script to use the .sh script instead. If someone knows how to 2&gt;/dev/null in TCL, please let me know.<br><br>I have plans to incorporate this into the sysinfo at some point. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>burn<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9902">burn</a> — Sun May 04, 2008 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-04T16:00:38-04:00</updated>

		<published>2008-05-04T16:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82714#p82714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82714#p82714"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82714#p82714"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc sys_dosysinfo { } { if {[catch {set sysinfo [exec ./scripts/sysinfo281.06.pl]} error]} {  set sysinfo "Perl script is not executable or doesn't exist." } return "$sysinfo"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun May 04, 2008 4:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2008-05-04T05:01:34-04:00</updated>

		<published>2008-05-04T05:01:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82707#p82707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82707#p82707"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82707#p82707"><![CDATA[
<blockquote class="uncited"><div>no longer errors, but does not produce any output to the channel,<br><br>when i run the perl script in my shell, it outputs the data. just wont do it on IRC<br><br>(01:43 AM):(rj@cube)~/bots/infowar2$ ./scripts/sysinfo281.06.pl<br>Hostname: cube - OS: FreeBSD 7.0-RELEASE/i386 - CPU: 2 x AMD Athlon MP 2800+ (2133.42 MHz) - Processes: 13 - Uptime: 4d 14h 39m - Users: 3 - Load Average: 3.12 - Memory Usage: 1303.89MB/2546.90MB (51.20%) - Disk Usage: 26.52GB/73.59GB (36.03%)<br><br>when i do !sysinfo <br><br>i see <br>01:44] &lt;&lt;arejay&gt;&gt; !*! !sysinfo<br><br>I've been unable to find the authors e-mail or contact info. <br><br><br>Anyone know of any other sysinfo scripts.</div></blockquote>I do see contact info in script<br># If you have any suggestions, questions or you want to report <br># bugs, please feel free to send me an email to <a href="mailto:burn@bluedevil.ca">burn@bluedevil.ca</a><br><br><br>Theres one at tclscripts.com it works but only issue is ram/memory shows as ????/????, has started since I went to BSD 7<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun May 04, 2008 5:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arejay]]></name></author>
		<updated>2008-05-04T01:49:33-04:00</updated>

		<published>2008-05-04T01:49:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82705#p82705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82705#p82705"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82705#p82705"><![CDATA[
no longer errors, but does not produce any output to the channel,<br><br>when i run the perl script in my shell, it outputs the data. just wont do it on IRC<br><br>(01:43 AM):(rj@cube)~/bots/infowar2$ ./scripts/sysinfo281.06.pl<br>Hostname: cube - OS: FreeBSD 7.0-RELEASE/i386 - CPU: 2 x AMD Athlon MP 2800+ (2133.42 MHz) - Processes: 13 - Uptime: 4d 14h 39m - Users: 3 - Load Average: 3.12 - Memory Usage: 1303.89MB/2546.90MB (51.20%) - Disk Usage: 26.52GB/73.59GB (36.03%)<br><br>when i do !sysinfo <br><br>i see <br>01:44] &lt;&lt;arejay&gt;&gt; !*! !sysinfo<br><br>I've been unable to find the authors e-mail or contact info. <br><br><br>Anyone know of any other sysinfo scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9885">arejay</a> — Sun May 04, 2008 1:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-05-01T09:08:50-04:00</updated>

		<published>2008-05-01T09:08:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82659#p82659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82659#p82659"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82659#p82659"><![CDATA[
Not using the script, but I would assume that piece of code should read like this:<div class="codebox"><p>Code: </p><pre><code>proc sys_dosysinfo { } { if {[catch {exec ./scripts/sysinfo281.06.pl} sysinfo]} {  set sysinfo "Perl script is not executable or doesn't exist." } return "$sysinfo"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu May 01, 2008 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arejay]]></name></author>
		<updated>2008-05-06T07:36:49-04:00</updated>

		<published>2008-05-01T08:35:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82655#p82655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82655#p82655"/>
		<title type="html"><![CDATA[sysinfo 1.111 [FIXED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82655#p82655"><![CDATA[
Just wondering if anyone else is running the sysinfo.tcl script from <br><br><a href="http://www.bluedevil.ca/eggdrop/sysinfo1.11.tgz" class="postlink">http://www.bluedevil.ca/eggdrop/sysinfo1.11.tgz</a><br><br>i receive the following error in my console <br><div class="codebox"><p>Code: </p><pre><code>[08:28] Tcl error [pub:sys_sysinfo]: syntax error in expression " exec ./scripts/sysinfo281.06.pl ": variable references require preceding $</code></pre></div><br>this is the offending line in the script<br><br><blockquote class="uncited"><div>proc sys_dosysinfo { } {<br>        if { exec ./scripts/sysinfo281.06.pl } { set sysinfo "Perl script is not executable or doesn't exist." }<br>        return "$sysinfo"<br>}</div></blockquote><br>any help would be great, thank's guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9885">arejay</a> — Thu May 01, 2008 8:35 am</p><hr />
]]></content>
	</entry>
	</feed>
