2009-01-26, 04:12
CrashX Wrote:By the look of the code ... it is looking for integer and character ... %d %c format ...
Right, just like the wiki says I take it everything works fine for you CrashX?
CrashX Wrote:By the look of the code ... it is looking for integer and character ... %d %c format ...
<advancedsettings>
<gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>
<cputempcommand>echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }') C"</cputempcommand>
</advancedsettings>
rodalpho@fiddler:~$ echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }') C"
29.50 C
rodalpho@fiddler:~$ echo "$(nvidia-settings -tq gpuCoreTemp) C"
37 C
rodalpho@fiddler:~$ echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"
44 C
<advancedsettings>
<gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>
<cputempcommand>echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</cputempcommand>
</advancedsettings>
xbmc@xbmc:~$ nvidia-settings -tq gpuCoreTemp
ERROR: The control display is undefined; please run `nvidia-settings --help`
for usage information.
xbmc@xbmc:~$
queeup Wrote:Nvidia temp not working for me
Code:xbmc@xbmc:~$ nvidia-settings -tq gpuCoreTemp
ERROR: The control display is undefined; please run `nvidia-settings --help`
for usage information.
xbmc@xbmc:~$
Installed with olympia (wiki) guide except SVN build.
XBMC from SVN-PPA (17700),
Nvidia driver:180.29
xbmc@xbmc:~$ nvidia-settings -c :0 -tq GPUCoreTemp -V
WARNING: Error querying attribute 'GPUCoreTemp' specified in query
'GPUCoreTemp'; 'GPUCoreTemp' is not available on xbmc:0.0.
xbmc@xbmc:~$
soder Wrote:A little guide, and I would be very happy.
olympia Wrote:http://wiki.xbmc.org/?title=HOW-TO:_Inst...monitoring
htpc@htpc-desktop:~$ sensors -u
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
temp1_input: 29.00
Core0 Temp:
temp2_input: 28.00
Core1 Temp:
temp3_input: 30.00
Core1 Temp:
temp4_input: 37.00
it8718-isa-0228
Adapter: ISA adapter
in0:
in0_input: 1.22
in0_min: 0.00
in0_max: 4.08
in0_alarm: 0.00
in1:
in1_input: 1.95
in1_min: 0.00
in1_max: 4.08
in1_alarm: 0.00
in2:
in2_input: 3.28
in2_min: 0.00
in2_max: 4.08
in2_alarm: 0.00
in3:
in3_input: 2.94
in3_min: 0.00
in3_max: 4.08
in3_alarm: 0.00
in4:
in4_input: 3.07
in4_min: 0.00
in4_max: 4.08
in4_alarm: 0.00
in5:
in5_input: 3.17
in5_min: 0.00
in5_max: 4.08
in5_alarm: 0.00
in6:
in6_input: 4.08
in6_min: 0.00
in6_max: 4.08
in6_alarm: 1.00
in7:
in7_input: 3.28
in7_min: 0.00
in7_max: 4.08
in7_alarm: 0.00
in8:
in8_input: 3.12
fan1:
fan1_input: 0.00
fan1_min: 0.00
fan1_alarm: 0.00
fan2:
fan2_input: 0.00
fan2_min: 0.00
fan2_alarm: 0.00
fan3:
fan3_input: 0.00
fan3_min: 0.00
fan3_alarm: 0.00
temp1:
temp1_input: 46.00
temp1_max: 127.00
temp1_min: 127.00
temp1_alarm: 0.00
temp1_type: 2.00
temp2:
temp2_input: 49.00
temp2_max: 80.00
temp2_min: 127.00
temp2_alarm: 0.00
temp2_type: 3.00
temp3:
temp3_input: 92.00
temp3_max: 127.00
temp3_min: 127.00
temp3_alarm: 0.00
temp3_type: 2.00
cpu0_vid:
cpu0_vid: 1.55
<advancedsettings>
<gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>
<cputempcommand>echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</cputempcommand>
</advancedsettings>
echo "$(sensors -u | grep "temp2_input"| awk '{print $2 }') C"
4.00
38.00 C