How to: Get CPU temp
-
Unfortunately using:
function get_temp() { $temp_out = ""; exec("/usr/local/bin/mbmon -I -c1 -T3", $dfout); $temp_out = (trim($dfout[0]).'°'); return $temp_out; }
Results in the attached image.
Perhaps the character set is being restricted somewhere?
-
That's a unicode degree symbol, try a standard ascii one, º
-
It's bad form (invalid html/js/etc) to put in a symbol instead of the html entity. It may work, but it's not guaranteed to do so.
http://www.w3schools.com/tags/ref_entities.asp
OK, got you, yes correct…
Cheers Steen -
No different. I entered both º and ° and both result in ��. :-\
Steve
-
I'd just leave it out.
(Or convert to Kelvin, no symbol there! ;-)
-
Kelvin nice! :D
I'll stick with the nasty ° addition to ajax.js. I'm clueless about js, how would one enter that as an ascii code instead? Using ° is not working.
Steve
-
I'd just leave it out.
(Or convert to Kelvin, no symbol there! ;-)
Kelvin - LoL can core temp convert the output?
-
This is awesome. My i3-540 reads 29C, 29C, 36C, 36C lol.
Will this be included in future snapshots? Or should we go ahead and modify it ourselves?
-
This is awesome. My i3-540 reads 29C, 29C, 36C, 36C lol.
Will this be included in future snapshots? Or should we go ahead and modify it ourselves?
That is cool, which type of case/box you use? I get 54C with an Atom D510 that sits in a Jetway Motherboard that is in a passive cooled M-350 box.
Cheers Steen -
Though this is 2.0 RC feedback section, but since the topic is on coretemp, I wanted to see if there is a pfsense 1.2.3 compatible 32-bit coretemp file out there that I can use. Moved to 1.2.3 last night as 64-bit snapshot snort is broken since weeks and I don't have the patience to wait any longer.
-
Though this is 2.0 RC feedback section, but since the topic is on coretemp, I wanted to see if there is a pfsense 1.2.3 compatible 32-bit coretemp file out there that I can use. Moved to 1.2.3 last night as 64-bit snapshot snort is broken since weeks and I don't have the patience to wait any longer.
Pull the file from a FreeBSD 7.2 install CD.
-
I am not a FreeBSD user.
-
I am not a FreeBSD user.
you don't have to be a FreeBSD user to copy a file off the install CD.
download a copy of 7.1 Install ISO.. Mount the ISO with your favorite Virtual CD program, like MagicISO… Then copy the files from cddrive/boot/kernel
-
I'm downloading the 7.2 ISO right now and I will upload the file as soon as it's done. ;)
-
Why on earth would you downgrade to 1.2.3 just because 2.0 x64 doesn't work? Why not use 2.0 x32? It works fine.
-
To be honest, I find 1.2.3 a bit more stable and far more responsive than 2.0RC3. It maybe just me, but after trying RC snapshots since as early as Jan this year, I have started to like 1.2.3 better and despite trying the latest RC3 snapshots from time to time, I keep coming back to 1.2.3.
-
To be honest, I find 1.2.3 a bit more stable and far more responsive than 2.0RC3. It maybe just me, […]
It's just you. :-)
-
Coretemp.ko for 1.2.3 attached below, rename to Coretemp.ko
-
-
jimp,
you twisted my words or you read it incorrectly.I said "it may be just me" but I like 1.2.3 better than 2.0 despite trying the latest snapshots from time to time.
Also 1.2.3 HAS been extremely stable and responsive for me.