Speedfan query
Forum rules
Please post to the correct forum, otherwise your post may not be seen.
Before posing, be sure to read and respect the forum rules
Please post to the correct forum, otherwise your post may not be seen.
Before posing, be sure to read and respect the forum rules
Speedfan query
I am interested in getting a copy of the commandline program of yours that MRTG calls to query the speedfan shared memory.
Re: Speedfan query
I will package it up for you tonight if I can, if you don't have anything by tomorrow, PM me 

--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
Hello Phil,
Can you share the Windows command-line version of the utility that get the Speedfan shared memory data. I am interested in the 32-bit Vista & 64-bit Win7 version.
Thanks
Can you share the Windows command-line version of the utility that get the Speedfan shared memory data. I am interested in the 32-bit Vista & 64-bit Win7 version.
Thanks
Re: Speedfan query
This should work for all versions of windows (x86 and x64) to read the data from speedfan
It outputs it in a mrtg suitable format.
Thanks,
Phil
It outputs it in a mrtg suitable format.
Thanks,
Phil
You do not have the required permissions to view the files attached to this post.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
Hi there
ReadSpeedFan.exe outputs decimal values on my system, and mrtg is complaining with evaluated to 'NaN' instead of a number in the log file.
Example output:
Is SpeedFan to blame for using a comma, or is it just your program that's being very polite and sticking with the system's regional settings? 
Got any tips for how to fix this?
ReadSpeedFan.exe outputs decimal values on my system, and mrtg is complaining with evaluated to 'NaN' instead of a number in the log file.
Example output:
Code: Select all
38,0
84,5
Temperature sensor 1
Temperature sensor 2

Got any tips for how to fix this?
Re: Speedfan query
I guess my program is sticking with the regional settings - thats not surprising because it just does a string format/printf which would do that.
I hadn't even considered that being a problem but I guess it wont be difficult to fix (assuming I can find the original code
)
I'll try and take a look when I get home from work.
Thanks,
Phil
I hadn't even considered that being a problem but I guess it wont be difficult to fix (assuming I can find the original code

I'll try and take a look when I get home from work.
Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
Have a go with this one...
I'm now forcing the format specifically rather than forcing a regional setting that can be modified in Windows! Thanks,
Phil
I'm now forcing the format specifically rather than forcing a regional setting that can be modified in Windows! Thanks,
Phil
You do not have the required permissions to view the files attached to this post.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
o.O
Wow, fast response.
And now it works
Superthanks, mate.
I have a request for you, though...
With the newer versions of SpeedFan you have possibility to pull data from SpeedFan with xAP.
Maaaaybe, a small program to use xAP instead of snatching data from shared memory?
(In this way you can poll a SpeedFan installed on a remote computer.)
Wow, fast response.
And now it works

Superthanks, mate.
I have a request for you, though...
With the newer versions of SpeedFan you have possibility to pull data from SpeedFan with xAP.
Maaaaybe, a small program to use xAP instead of snatching data from shared memory?

(In this way you can poll a SpeedFan installed on a remote computer.)
Re: Speedfan query
I'm not familiar with xAP I will have to read up on that 
Maybe thats for someone else as I'm rather busy with my other projects right now, but I will try and have a look at some point!
Thanks, and glad it works now
Phil

Maybe thats for someone else as I'm rather busy with my other projects right now, but I will try and have a look at some point!
Thanks, and glad it works now

Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
Hi again!
Just a small note - nothing important...
Your exe outputs 5 lines in total, but MRTG requires 4 lines.
The two first lines are of course ok, but the two last lines should be
- uptime in human readable form
- computer name
I didnt notice this until now as I only use the two first lines in my MRTG config.
(I'm generating the two last lines myself using windows commands)
I've been using readspeedfan.exe for a couple of weeks now, and it work's beautifully
http://demux.net/mrtg/tyrell/summary.html
Just a small note - nothing important...
Your exe outputs 5 lines in total, but MRTG requires 4 lines.
The two first lines are of course ok, but the two last lines should be
- uptime in human readable form
- computer name
I didnt notice this until now as I only use the two first lines in my MRTG config.
(I'm generating the two last lines myself using windows commands)
I've been using readspeedfan.exe for a couple of weeks now, and it work's beautifully

http://demux.net/mrtg/tyrell/summary.html
Re: Speedfan query
interesting, I don't understand why that is not a problem on my graphing then. I will see what I can do about it 

--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Re: Speedfan query
Well, the three last lines in the current readspeedfan.exe output is like this
3) *blank line*
4) sensor name 1
5) sensor name 2
MRTG reads only line 3 and 4. So system uptime = blank, and computer name = sensor name 1. Thats why it doesnt really pose a problem. Like I said, it's not something to worry about. But if you're gonna make any changes to your code in the future, you might look into fixing it.
I'm writing a HOWTO/FAQ on cofiguring MRTG for Windows, and I'd like to link to your website if it's OK, as your readspeedfan.exe is quite interesting for people wanting to graphs their sensors
EDIT: typo
3) *blank line*
4) sensor name 1
5) sensor name 2
MRTG reads only line 3 and 4. So system uptime = blank, and computer name = sensor name 1. Thats why it doesnt really pose a problem. Like I said, it's not something to worry about. But if you're gonna make any changes to your code in the future, you might look into fixing it.
I'm writing a HOWTO/FAQ on cofiguring MRTG for Windows, and I'd like to link to your website if it's OK, as your readspeedfan.exe is quite interesting for people wanting to graphs their sensors

EDIT: typo
Last edited by Irios on Thu Apr 12, 2012 10:26 pm, edited 1 time in total.
Re: Speedfan query
No problem with the links - my config examples are ancient now, and I'm using RRDTool more than just mrtg because it works with negative numbers eg. (outside temperature) where as mrtg alone does not.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)