LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux processor temputure (https://www.linuxquestions.org/questions/linux-newbie-8/linux-processor-temputure-761648/)

smeezekitty 10-13-2009 02:21 PM

linux processor temputure
 
How do i get the processor temputure and fan speed in linux
from the command line?

btmiller 10-13-2009 02:33 PM

Usually either via lm-sensors or impitool. However, your motherboard has to support either onboard sensors or IPMI. If you install the lm-sensors package, there's a utility you can run (I think it's called sensors-detect) that will detect any motherboard sensors.

firehawk256 10-13-2009 02:43 PM

Basically, you need a program called lm_sensors. The install seems to be a little different on every distro but maybe this will get you pointed in the right direction.

http://www.debian-administration.org/articles/327

catkin 10-13-2009 03:07 PM

Search LQ for lm-sensors (or sensors3.conf) and my user name; I've posted a few informative replies. I essence it's trivial if there is a published sensors3.conf file for your motherboard; elsewise you have some non-trivial investigation to do to evolve your own, starting with one for a similar motherboard

smeezekitty 10-13-2009 03:11 PM

why does it say
Quote:


IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW!
IBM Thinkpads have a severely broken i2c/SMBus implementation, just scanning
the bus will break your thinkpad forever!
that does not make sense

H_TeXMeX_H 10-14-2009 02:02 PM

Well if it says that, then do take that advice, it can happen.

shpenat 10-14-2009 05:06 PM

Or if you have acpi system (probably yes), check /proc/acpi directory. FOr example in my case /proc/acpi/thermal_zone/temperature contains current CPU temperature.


All times are GMT -5. The time now is 06:09 PM.