LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-09-2007, 07:59 AM   #1
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
asking CPU temperature by console?


Is there a way to "ask" via console the temp of the cpu and other stuff in the server?
 
Old 11-09-2007, 08:43 AM   #2
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
Yes.

Not sure if it's packaged in your distribution, but you can use LM Sensors.

http://www.lm-sensors.org/

You need to do a little tweaking of the config files to match up with your hardware. But once the settings are correct you can view or automatically react to changes in temperature (assuming your hardware has on board sensors that are supported).

Right now, if I run the command sensors I get the following information.

Code:
user@host:~> sensors
w83697hf-isa-0290
Adapter: ISA adapter
VCore:     +0.85 V  (min =  +0.77 V, max =  +0.85 V)
+3.3V:     +3.28 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +5.03 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +12.34 V  (min = +10.82 V, max = +13.19 V)
V5SB:      +5.01 V  (min =  +4.76 V, max =  +5.26 V)
VBat:      +3.26 V  (min =  +2.40 V, max =  +3.60 V)
Case Fan:    0 RPM  (min =    0 RPM, div = 2)
CPU Fan:     0 RPM  (min =    0 RPM, div = 4)
M/B Temp:    +53°C  (high =   +65°C, hyst =   +60°C)   sensor = transistor
CPU Temp:  +32.0°C  (high =   +40°C, hyst =   +35°C)   sensor = diode
alarms:
beep_enable:
          Sound alarm enabled
Note the two temperature readings just before alarms.
 
Old 11-09-2007, 01:07 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
lm-sensors is Linux specific so it won't work on Solaris.

Getting your CPU temperature may be possible either natively or with extra s/w depending on the machine.

On SPARC, use prtdiag and on x86, use the emi-freq applet from frkit:

http://www.opensolaris.org/os/commun...=November+2005

http://www.opensolaris.org/os/community/laptop/frkit/
 
  


Reply



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
How to get CPU temperature on Athlon 64 ... tomazN Linux - Hardware 13 02-13-2006 06:20 PM
CPU temperature Sc0pE Linux - Software 2 05-22-2005 05:10 PM
cpu temperature alaios Linux - Hardware 4 09-21-2004 04:30 PM
how to get cpu temperature taoweijia Linux - Software 3 02-13-2004 06:04 PM
CPU Temperature Cubiq Programming 3 04-06-2002 11:04 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:23 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