Console CPU temperature

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Console CPU temperature

Post by impulse() »

I'm looking for an app that will display the CPU temperature in a shell. I have managed to find an app that will display the HDD temperature using 'hddtemp' but there doesn't seem to be many shell monitoring programs for hardware.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

What does

Code: Select all

uname -v
print?
Is there are "file" /proc/.config.gz present?
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

uname -v returns:

#1 SMP Fri Apr 27 18:53:15 EDT 2007]

That file doesn't exist on my system. I'm running Fedora Core 6 with kernel 2.6.20-1.2948 if that helps you anymore.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Is there a package lm_sensors in the repository? That's probably what you're looking for.
see http://www.lm-sensors.org/
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Look at various files in /proc/acpi. If you don't have acpi enabled then you're out of luck as far as I know.

EDIT | Ah yes, lm_sensors. Might still require acpi.
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

lm_sensors is just what the doctor ordered.

Thanks.
Post Reply