Ver temp. processador

1. Ver temp. processador

Bruno Casella
killerbean

(usa Ubuntu)

Enviado em 29/03/2009 - 17:19h

Algo que nunca consegui fazer funcionar no Linux é algo que veja a temperatura do meu processador. Já testei vários programas, mas nenhum deu sinal de vida da temperatura. Só consigo ver a temperatura da placa de vídeo.
O meu processador eh um Intel Pentium 4 HT 3.4Ghz, numa placa mãe Asus P5LD2-X. Já vi o mesmo problema ocorrer numa placa mãe Asus M2N-E SLI com processador AMD 64 bits.

Alguem aí sabe como resolver o problema, se é algo de permissão ou modulos que está impedindo de ver a ifomação da temeratura do processador ?

Uso ubuntu 8.10 .


  


2. Re: Ver temp. processador

Xerxes
xerxeslins

(usa BigLinux)

Enviado em 29/03/2009 - 17:38h

Procure por "tempNUMERO_input" dentro de /sys/device.

Obs.: o NUMERO é referente ao processador.

Comando para procurar:

# find /sys/device/ -name temp*

aqui por exemplo eu vejo minha temperatura com o comando:

cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input

Você pode usar o programa hardinfo tbm




3. Re: Ver temp. processador

Bruno Casella
killerbean

(usa Ubuntu)

Enviado em 29/03/2009 - 18:51h

Tentei a sua dica, mas nenhum dos arquivos dentro do /sys/devices tem algo começando por temp ou algo parecido
E no hardinfo tb nao aparece nada =\


4. Re: Ver temp. processador

Xerxes
xerxeslins

(usa BigLinux)

Enviado em 29/03/2009 - 19:22h

Poxa, amigo... =/

Nesse caso, infelizmente eu não sei como ajudar.


5. Re: Ver temp. processador

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 29/03/2009 - 19:32h

não sei se resolverá seu caso, mas tente instalar o lm_sensors:
# apt-get install lm_sensors

e então:
# sensors-detect

após, verifique a lista de sensores detectados:
# sensors



6. Re: Ver temp. processador

Xerxes
xerxeslins

(usa BigLinux)

Enviado em 29/03/2009 - 19:58h

Só pra constar, o lm_sensors funcionou aqui. Retornou:

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +36.0°C

^^

Espero que isso resolva o problema do amigo aí


7. Re: Ver temp. processador

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 29/03/2009 - 20:43h

Uma mini dica legal.
Também funfa no meu, eu tenho um athlon em regime de alta performance,
mas ele ttem muitos coolers...
tá ligado a 18 horas, calculando moléculas e mesmo assim tá +- Frio!

albfneto@linux ~ $ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
+51°C
Core1 Temp:
+55°C




8. Re: Ver temp. processador

Bruno Casella
killerbean

(usa Ubuntu)

Enviado em 29/03/2009 - 22:13h

Instalei o lm-sensors. Mandei detectar, olha o resultado:
##############################
bfc@bfc-desktop:~$ sudo sensors-detect
[sudo] password for bfc:
# sensors-detect revision 5666 (2009-02-26 17:15:04 +0100)
# System: System manufacturer System Product Name
# Board: ASUSTeK Computer INC. P5LD2-X/1333

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal and voltage sensors... No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): ^C
bfc@bfc-desktop:~$
bfc@bfc-desktop:~$ sudo sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
bfc@bfc-desktop:~$ c

bfc@bfc-desktop:~$ sudo sensors-detect
# sensors-detect revision 5666 (2009-02-26 17:15:04 +0100)
# System: System manufacturer System Product Name
# Board: ASUSTeK Computer INC. P5LD2-X/1333

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal and voltage sensors... No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627DHG Super IO Sensors' Success!
(address 0x290, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We have to read from arbitrary I/O ports to probe for such interfaces.
This is normally safe. Do you want to scan for IPMI interfaces?
(YES/no):
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO):

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

Module i2c-i801 loaded successfully.
Module i2c-dev loaded successfully.



Next adapter: NVIDIA i2c adapter (i2c-0)
Do you want to scan it? (YES/no/selectively):
Next adapter: NVIDIA i2c adapter (i2c-1)
Do you want to scan it? (YES/no/selectively): Client found at address 0x50

Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... No
Probing for `EDID EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)

Next adapter: NVIDIA i2c adapter (i2c-2)
Do you want to scan it? (YES/no/selectively):
Next adapter: SMBus I801 adapter at 0400 (i2c-3)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x50
Probing for `Analog Devices ADM1033'...
No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'...
Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)

Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf':
* ISA bus, address 0x290
Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
You should now start the lm_sensors service to load the required
kernel modules.

Unloading i2c-dev... OK
Unloading i2c-i801... OK
##############################

fuçei a internet e no vol, se faltava carregar algum modulo. Rodei certos, scripts, mas de nada adiantou. ele não carrega nenhum modulo no /etc/modules
E quando rodo o $sensors, tenho o seguinte resultado:
####################################
bfc@bfc-desktop:~$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
####################################

Deve faltar algum modulo, ou o kernel nao suporta os sensores da minha placa-mãe . . . =\

Mas valeu a dica ae, pessoal :)




9. TEMPERATURA DO PROCESSADOR

Katarina Mina
katarinamina

(usa Ubuntu)

Enviado em 31/01/2010 - 14:01h

Ok. Aqui apareceu o seguinte:

acpitz-virtual-0
Adapter: Virtual device
temp1: +38.0°C (crit = +70.0°C)

Pra variar, preciso da ajuda de vocês... Então, digam-me:

Está tudo ok, com relação à temperatura do meu Fabinho (nome do meu PC)???
;)


10. Re: Ver temp. processador

Jefferson Diego
Diede

(usa Debian)

Enviado em 31/01/2010 - 23:21h

Bem, katarina, depende.
Essa temp1 pode ser algum sensor a parte, como na placa de vídeo, por exemplo.
Geralmente o termodiodo do CPU é identificado como "CPU Temp", ou "M/B Temp", caso você tenha uma PCChips M825 :-)
Mas, de qualquer forma, 38°C é uma boa temperatura...


11. Re: Ver temp. processador

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 31/01/2010 - 23:35h

Katarina, em algumas distros, temp1 pode ser a temperatura do processador, sim e parece ser, pq certos processadores tem limites de temperatura perto de 70 graus...
em todo caso, 38 graus tá friozão.... até 62-65 , não precisa nem se preucupar...


" numa placa mãe Asus M2N-E SLI com processador AMD 64 bits"

PS a minha é uma MN2-E-SLI, e os sensores funfam sim.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts