LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2009, 02:21 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
linux processor temputure


How do i get the processor temputure and fan speed in linux
from the command line?
 
Old 10-13-2009, 02:33 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 10-13-2009, 02:43 PM   #3
firehawk256
LQ Newbie
 
Registered: Nov 2004
Location: Austin, TX
Distribution: Debian testing/sid
Posts: 20

Rep: Reputation: 1
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
 
Old 10-13-2009, 03:07 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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
 
Old 10-13-2009, 03:11 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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
 
Old 10-14-2009, 02:02 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well if it says that, then do take that advice, it can happen.
 
Old 10-14-2009, 05:06 PM   #7
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm confused again, Is an Arm processor the same as a MIPS processor? MrUmunhum Linux - Hardware 3 09-24-2009 04:47 AM
Installing Linux on a dual processor machine (only one processor detected) rocordial Linux - Hardware 1 11-27-2004 02:16 AM
4 processor listings in cpuinfo on dual processor system. atticboy1 Linux - Hardware 2 02-08-2004 06:35 PM
xinetd 100% utilization on one processor on a two processor system red hat 9 garnold Linux - General 0 02-02-2004 01:47 PM
Kernel Panic on Dual Processor Motherboard with only 1 Processor olar Linux - Software 1 10-13-2001 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration