Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Prasys

X-Chat sysinfo script

26 posts in this topic

Recommended Posts

Hey guys,

 

Remember when the great Spaz created the xChatSysInfo scripts for us all. It worked fine with the OSX 10.4.4 Kernel [8.4.1] , but then with the new OSX 10.4.8 Release by Jas , it messed up everything. It fails to show /macinfo because of somekind of system profiler error .So I had to fix this [i would like to thank DiegoMax here and some folks] and then added some other minor fixes [that includes Quartz 2D Extreme Detection fix] and 'speed' improvement [a little , i dont know what i messed] and it works with x-chat 0.15.2 , and the latest version

 

ChangeLog

# Version 7 : added PPC compatability

# Version 7.1p : fixes for 10.4.8, other minor fixes, speed improvements - prasys

# Version 7.2j : minor fixes, speed improvements, better CPU detection, better CPU detection,

# added CPU feature detection, added kernel version to OS info, added config

# options, changed /macupdate to use new server. - Joey

# Version 7.2.1 : better support for real Macs, dual core machines, dual processors, etc. also

# fixes a bug for CPUs under 1GHz. - Joey

# Version 7.2.1a : fixes a minor bug in computer detection.

# Version 7.2.1b : fixes more bugs

# Version 7.2.2 : fixes bug that shows 2x CPUs on HTT CPUs, displays "AMD64" instead of "EM64T"

# for 64-bit AMD CPUs, adds configuation options so that users can change what

# gets displayed with /macinfo by default

# Version 7.2.2a : changes text colour from black to "no colour"

# Version 7.2.2b : fixes 7.2.2a

# Version 7.2.2c : fixes 7.2.2 bug on non-HTT CPUs

 

 

 

 

Installation

 

Download : http://n-lp.com/~osx/

 

Installation Instrucitons : Just drop this file to Application --> X-Chat Aqua ----> Plugins . Just drop it there and start x-chat

 

To 'show-off' your mac in the #chatrooms , simply type /macinfo - Please dont spam. If you have any problems , just hop by to #scripts - irc.macspeak.net

Share this post


Link to post
Share on other sites
Advertisement

Works great

Share this post


Link to post
Share on other sites

Thanks RobNYC !.

 

I am going to add few more CPU Strings to the script to fix detection of CPUs !

Share this post


Link to post
Share on other sites

Updated

 

I would like to thank Joey

 

Now it detects if you have a 64-bit processor ! - for OSX 10.4.8 kernels and 64-bit CPUs [AMD64/EM64T]

Share this post


Link to post
Share on other sites

New release, with better support for real macs, a few bug fixes, stripping of ™, ®, 'CPU', etc. from the CPU name/type, fixes for dual processors/dual cores, and a minor fix for CPUs under 1GHz. Grab it here: XInfoAqua.7.2.1.zip

 

If you already have 7.2j, just use /macupdate!

Share this post


Link to post
Share on other sites

Just get the new one from the irc channel and it keeps updating automatically :)

Share this post


Link to post
Share on other sites

Version 7.4 is released. Version 7.3 had a limited release, and was basically skipped over. Here's a changelog:

 

Version 7.3	: fixes battery info for 8.8.1 kernel [10.4.8], adds 'machine' argument, changes
			 RAM output slightly with ideas from GivemHell, fixes typo in /mactunes full as
			 well as changing the output slightly, added video driver detection, added more
			 kernel info, fixed colour output so it looks right in other clients
Version 7.4	: changes PPC detection to the CPU rather than the machine, adds network
			 information, added FSB detection

 

Grab 7.4 here: http://www.n-lp.com/~osx/XInfoAqua.7.4.zip, or do a /macupdate

Share this post


Link to post
Share on other sites

Thanks for the script. Been testing it out for a few months now. I notice some issues when giving it /macinfo bw This will list all stats instead and combining a command with bw also will not display bw stats. I was looking through the script and saw its using netstat. Is it possible to use netstat to get output of current interface throughput? If not what could be used? Maybe add this option to the next version? Thanks

Share this post


Link to post
Share on other sites

Hi- I tried this script 7.4 on my ibook G3 300 mhz and I'm rewarded with this:

 

Traceback (most recent call last):

File "/Users/nick01/Desktop/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 1248, in domacinfo

getinfo(word)

File "/Users/nick01/Desktop/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 586, in getinfo

tempf = float(tempf.strip('.'))

ValueError: empty string for float()

 

B)

Share this post


Link to post
Share on other sites

just installed in on x-chat on my mac pro

 

doesnt pick up the FSB speed correctly

 

MacPro CPU: Intel Xeon 5150 2.66GHz @ 2.66GHz [sSE3/PAE/XD/EM64T/VMX/EST/DualCore] L2 Cache: 4096K FSB: 333MHz RAM: 328.0MB/1.0GB Virtual: 0.00M/64.00M Disk: 247.94GB/530.34GB Display: ATY,RadeonX1900 [512 MB/CI/QE/Stock] 1680x1050 OS: Mac OS X 10.4.9 (8P2137) Kernel: Darwin 8.9.1 Net: [en0/In: 1.81MB/Out: 229.03KB] U

 

should be 1333MHz not 333MHz

Share this post


Link to post
Share on other sites

Traceback (most recent call last):
   File "/Applications/X-Chat Aqua/plugins/XInfoAqua.7.4.py", line 1248, in domacinfo
     getinfo(word)
   File "/Applications/X-Chat Aqua/plugins/XInfoAqua.7.4.py", line 807, in getinfo
     line = trim(line[1])
 IndexError: list index out of range
* MACINFO :Unknown command.

 

...is all I get from it.

Share this post


Link to post
Share on other sites

hi guys,

 

I have instaled a vs 7.4 but this dont work in 10.4.10 and 9a499, where i can download a new vs of this scrpt?

 

thx

Share this post


Link to post
Share on other sites

I was also looking for an newer release of the script.. it the problem is a place to host it then that i can help with but am just getting gray haris of looking in the script to find why it makes the error... What i can findout in the script is when it wants the kernel date or atleast it is on my PowerBook G4 dont know about the new intel macs if it is the same place the error comes...

 

[13:31]   Traceback (most recent call last):
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 1248, in domacinfo
getinfo(word)
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 782, in getinfo
kernel = stripit2(temp)
File "/Users/paranoid/Desktop/XInfoAqua.7.4.py", line 1589, in stripit2
temp = trim(temp[1])
IndexError: list index out of range
* macinfo :Unknown command

 

 

That is the error i gets on my G4 when i run the sysinfo script in OSX 10.5 build 529 and it has been the same error up the builds.. From the first build, but at that time i was able to paas it if i just took the and run the script with out the kernel info...

 

And for help with hosting then PM my and i will make an place on my server.

Share this post


Link to post
Share on other sites

Hiya, new to the forum, not new to the mac. I own a MacBook and use xchat aqua.. I'd like to check out and use this script... would someone show me an actively working link to download it please?

Share this post


Link to post
Share on other sites

I get the same error message pointed some posts before but my CPU supports SSE3, what Im doing wrong?

 

Traceback (most recent call last):
File "/Applications/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 1248, in domacinfo
getinfo(word)
File "/Applications/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 782, in getinfo
kernel = stripit2(temp)
File "/Applications/X-Chat Aqua/Plugins/XInfoAqua.7.4.py", line 1589, in stripit2
temp = trim(temp[1])
IndexError: list index out of range
* macinfo :Unknown command

running leopard with pc_efi and 9.1.0 vanilla kernel

Share this post


Link to post
Share on other sites

Sorry for the lack of updates; I haven't had OS X installed and working for nearly a year now. The latest version is still 7.4, but now there's also a 7.4l that should work for at least 10.5.0. Please note that you need to configure the script if your network interface is not en0. Open it up in your favorite text editor, scroll down to the __config_net_interface__ line and edit it to your pleasing. There are other settings nearby that you can play with as well.

 

Edit: Looks like I posted too soon. Madison has released version 8.0 of XInfoAqua! According to him, there are many fixes, and /macupdate works again. Get it here.

 

Also, if you're having problems with XInfoAqua's /macweather command or just want better weather output, try XWeather. It's a little different from /macweather - to start with, the command is /xw. Also, it uses Yahoo's weather api rather than accuweather and therefore has much better location handling [in other words, it can find your town better] and more data. It also has better settings and should work with any X-Chat client that has a python plugin.

 

If you have any problems or need a new link, come to #scripts on irc.moofspeak.net; I don't check this thread nearly often enough to help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • AFAIK, the THB_C header on the motherboard has nothing to do with USB. It's a GPIO, though its use is undocumented.   On Gigabyte and ASRock at least, if you do not connect the THB header, then the TB card won't activate at all, and the BIOS will not show a Thunderbolt entry...   I'm rather amazed that it would work for you in macOS, I'm 99.99% sure your TB is now broken in windows however (and the TB card won't even appear)...   I'm on a different problem now, since I added a 2nd nvidia 1080Ti, just having the TB SSDT causes a kernel panic at boot
    • Why is it im getting Kermel panic if i use Clover's ACPI>DSDT>Fixes>FakeLPC
    • Allan are you still there
    • SUCCESS!!! Finally all my THUNDERBOLT devices are hotpluggable!!   The solution is unbelievable, seems to work on all chipsets without using SSDT, and shifts the focus on the cause of all problems Thunderbolt: the cable THB_C!! Already in my previous post I noticed strange behavior by inserting the _DSM method in DSB2: PCIHotplugcapable Zero.
      Since then I've been trying to figure out how the XHC controller affected the Thunderbolt hotplug, until Crismac2013 suggested I disconnect the THB_C cable from the motherboard.
      Once disconnected, it was enough to add as an arbitrary inject my first Thunderbolt address (PXSX): <dict> <key>Comment</key> <string>PCI THUNDERBOLT 15d3 first entry</string> <key>CustomProperties</key> <array> <dict> <key>Disabled</key> <false/> <key>Key</key> <string>PCI-Thunderbolt</string> <key>Value</key> <integer>1</integer> </dict> <dict> <key>Disabled</key> <false/> <key>Key</key> <string>IOName</string> <key>Value</key> <string>pci-bridge</string> </dict> </array> <key>PciAddr</key> <string>01:00.00</string> </dict> and it works!! Now I have also added my last SSDT to get PCI information on System info.
      I suspect, however, that in this way the USB-C functionality will be lost, you should do a test!
      In any case this is a huge step forward and makes it obvious that we need to work on XHCs controller to solve the problems with the hotplug with THB_C cable connected.  
    • Normal, rotational hard drives doesn't have attributes for life... (not even all ssds have it).


×