openSUSE Forums > Archives > Novell Archives » Monitoring CPU temperature

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-Jul-2006, 05:05
Bob Williams
Guest
 
Posts: n/a
Default Monitoring CPU temperature

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have recently rebuilt my linux box, and the new motherboard/bios can tell
me the current temperature of the CPU, but only if I go into the BIOS setup
program at boot-time. Is there a utility that can monitor this information
for me in real time?
- --
Bob
Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEug95VsFhO+PqIvQRAiXsAJ4rdObJuyCDj9J0R+nzVe bXO29oSgCeLYlm
R7yBWKLinPMf2N7KH0t0FZ0=
=KFhH
-----END PGP SIGNATURE-----
  #2 (permalink)  
Old 16-Jul-2006, 05:13
Bill P
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

On Sun, 16 Jul 2006 06:05:58 -0400, Bob Williams
<news@spam.barrowhillfarm.org.uk> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have recently rebuilt my linux box, and the new motherboard/bios can
> tell
> me the current temperature of the CPU, but only if I go into the BIOS
> setup
> program at boot-time. Is there a utility that can monitor this
> information
> for me in real time?
> - --
> Bob
> Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEug95VsFhO+PqIvQRAiXsAJ4rdObJuyCDj9J0R+nzVe bXO29oSgCeLYlm
> R7yBWKLinPMf2N7KH0t0FZ0=
> =KFhH
> -----END PGP SIGNATURE-----


lm_sensors w/gkrellm as graphical front end
http://www.linuxjournal.com/article/6712

--
Suse 10.1 x64, kde3.53, opera 9.x weekly
  #3 (permalink)  
Old 16-Jul-2006, 05:18
Bob Williams
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

Bill P wrote:

> On Sun, 16 Jul 2006 06:05:58 -0400, Bob Williams
> <news@spam.barrowhillfarm.org.uk> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I have recently rebuilt my linux box, and the new motherboard/bios can
>> tell
>> me the current temperature of the CPU, but only if I go into the BIOS
>> setup
>> program at boot-time. Is there a utility that can monitor this
>> information
>> for me in real time?
>> - --
>> Bob
>> Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.2 (GNU/Linux)
>>
>> iD8DBQFEug95VsFhO+PqIvQRAiXsAJ4rdObJuyCDj9J0R+nzVe bXO29oSgCeLYlm
>> R7yBWKLinPMf2N7KH0t0FZ0=
>> =KFhH
>> -----END PGP SIGNATURE-----

>
> lm_sensors w/gkrellm as graphical front end
> http://www.linuxjournal.com/article/6712
>

Many thanks
--
Bob
Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
  #4 (permalink)  
Old 16-Jul-2006, 08:24
Christian Barmala
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

Bob Williams wrote on 16.07.2006 12:18:
> Bill P wrote:
>> Bob Williams wrote:
>>> Is there a utility that can monitor the current temperature of the CPU?

> Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
>> lm_sensors w/gkrellm as graphical front end
>> http://www.linuxjournal.com/article/6712

> Many thanks


Can you describe how you got it running under SuSE 10.1? The Linux
Journal article seems to describe a generic Linux, while SuSE has
already some components pre installed.

sensors-2.10.0-10 is already installed and /etc/sensors exists already.
Do I have to install the components mentioned in the article anyway?


Invoking "sensors" tells me
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!

mount | grep sysfs
sysfs on /sys type sysfs (rw)

What else to do?

Christian

  #5 (permalink)  
Old 16-Jul-2006, 08:44
Malcolm
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

On Sun, 16 Jul 2006 13:24:08 GMT
Christian Barmala <christian.barmala@gmx.net> wrote:

> Bob Williams wrote on 16.07.2006 12:18:
> > Bill P wrote:
> >> Bob Williams wrote:
> >>> Is there a utility that can monitor the current temperature of
> >>> the CPU?

> > Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
> >> lm_sensors w/gkrellm as graphical front end
> >> http://www.linuxjournal.com/article/6712

> > Many thanks

>
> Can you describe how you got it running under SuSE 10.1? The Linux
> Journal article seems to describe a generic Linux, while SuSE has
> already some components pre installed.
>
> sensors-2.10.0-10 is already installed and /etc/sensors exists
> already. Do I have to install the components mentioned in the article
> anyway?
>
>
> Invoking "sensors" tells me
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
>
> mount | grep sysfs
> sysfs on /sys type sysfs (rw)
>
> What else to do?
>
> Christian
>

Hi
You need to detect them first, run sensors-detect.

--
Cheers
Malcolm °¿°
  #6 (permalink)  
Old 16-Jul-2006, 08:47
Mike
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

Christian Barmala wrote:

> Bob Williams wrote on 16.07.2006 12:18:
>> Bill P wrote:
>>> Bob Williams wrote:
>>>> Is there a utility that can monitor the current temperature of the CPU?

>> Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
>>> lm_sensors w/gkrellm as graphical front end
>>> http://www.linuxjournal.com/article/6712

>> Many thanks

>
> Can you describe how you got it running under SuSE 10.1? The Linux
> Journal article seems to describe a generic Linux, while SuSE has
> already some components pre installed.
>
> sensors-2.10.0-10 is already installed and /etc/sensors exists already.
> Do I have to install the components mentioned in the article anyway?
>
>
> Invoking "sensors" tells me
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
>
> mount | grep sysfs
> sysfs on /sys type sysfs (rw)
>
> What else to do?
>
> Christian


run "sensors-detect"
www.lm-sensors.org
  #7 (permalink)  
Old 16-Jul-2006, 08:50
Bill P
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

On Sun, 16 Jul 2006 09:24:08 -0400, Christian Barmala
<christian.barmala@gmx.net> wrote:

> Bob Williams wrote on 16.07.2006 12:18:
>> Bill P wrote:
>>> Bob Williams wrote:
>>>> Is there a utility that can monitor the current temperature of the
>>>> CPU?

>> Intel Celeron D 2.53GHz - SuSE Linux 10.1 - KDE 3.5.1
>>> lm_sensors w/gkrellm as graphical front end
>>> http://www.linuxjournal.com/article/6712

>> Many thanks

>
> Can you describe how you got it running under SuSE 10.1? The Linux
> Journal article seems to describe a generic Linux, while SuSE has
> already some components pre installed.
>
> sensors-2.10.0-10 is already installed and /etc/sensors exists already..
> Do I have to install the components mentioned in the article anyway?
>
>
> Invoking "sensors" tells me
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
>
> mount | grep sysfs
> sysfs on /sys type sysfs (rw)
>
> What else to do?
>
> Christian
>

Sorry - these are my notes they will need to be customized to your board,
===================================
The interface /proc/bus/i2c/ is provided by loading kernel modules.
Which modules to load can be interactively detected as root by calling
/usr/sbin/sensors-detect.
The default configuration in /etc/sensors.conf should be changed to fit
the actual set up of the mainboard
Also see http://www.lm-sensors.org/
================
the following were determined from running /usr/sbin/sensors-detect.
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:
#?????????????----cut here----
# I2C module options
alias char-major-89 i2c-dev
#?????????----cut here----
============================
To load the modules that are needed, add this to /etc/init.d/boot.local
##### loading of hw sensors ######
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe it87
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----
#????????????----cut here----



--
Suse 10.1 x64, kde3.53, opera 9.x weekly
  #8 (permalink)  
Old 16-Jul-2006, 16:44
Christian Barmala
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

Bill P wrote on 16.07.2006 15:50:
> Christian Barmala wrote:
>> Bob Williams wrote on 16.07.2006 12:18:
>>> Bill P wrote:
>>>> Bob Williams wrote:
>>>>> Is there a utility that can monitor the temperature of the CPU?
>>>> lm_sensors w/gkrellm as graphical front end
>>>> http://www.linuxjournal.com/article/6712

>> Invoking "sensors" tells me
>> Can't access procfs/sysfs file ...


Malcolm wrote on 16.07.2006 15:44:
> You need to detect them first, run sensors-detect.



Mike wrote on 16.07.2006 15:47:
> run "sensors-detect"
> www.lm-sensors.org


> the following were determined from running /usr/sbin/sensors-detect.
> To make the sensors modules behave correctly, add these lines to
> /etc/modules.conf:
> #?????????????----cut here----
> # I2C module options
> alias char-major-89 i2c-dev
> #?????????----cut here----
> ============================


That's what I did

> To load the modules that are needed, add this to /etc/init.d/boot.local
> ##### loading of hw sensors ######
> #----cut here----
> # I2C adapter drivers
> modprobe i2c-isa
> # I2C chip drivers
> modprobe it87
> # sleep 2 # optional
> /usr/bin/sensors -s # recommended
> #----cut here----
> #????????????----cut here----


I missed/overlooked this one

sensors detect also told me to add some modprobe-lines to an /etc/rc
file, but since SuSE uses /etc/init.d/foo files instead I created a file
/etc/init.d/sensors but didn't activate it with chkconfig sensors add,
because I detected that there was already a file /etc/init.d/lm_sensors.

After rebooting my machine, sensors showed me a list of voltages and
temperatures. None of the GUI front ends mentioned in the article are
pre-installed. Are there any SuSE-RPMs for the GUIs?

The voltage list btw seems to be wrong:
-12V: -4.04 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -13.64 V (min = -5.26 V, max = -4.77 V) ALARM


Christian

  #9 (permalink)  
Old 16-Jul-2006, 17:28
Bill P
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

On Sun, 16 Jul 2006 17:44:12 -0400, Christian Barmala
<christian.barmala@gmx.net> wrote:

> Bill P wrote on 16.07.2006 15:50:
>> Christian Barmala wrote:
>>> Bob Williams wrote on 16.07.2006 12:18:
>>>> Bill P wrote:
>>>>> Bob Williams wrote:
>>>>>> Is there a utility that can monitor the temperature of the CPU?
>>>>> lm_sensors w/gkrellm as graphical front end
>>>>> http://www.linuxjournal.com/article/6712
>>> Invoking "sensors" tells me
>>> Can't access procfs/sysfs file ...

>
> Malcolm wrote on 16.07.2006 15:44:
>> You need to detect them first, run sensors-detect.

>
>
> Mike wrote on 16.07.2006 15:47:
>> run "sensors-detect"
>> www.lm-sensors.org

>
>> the following were determined from running /usr/sbin/sensors-detect.
>> To make the sensors modules behave correctly, add these lines to
>> /etc/modules.conf:
>> #?????????????----cut here----
>> # I2C module options
>> alias char-major-89 i2c-dev
>> #?????????----cut here----
>> ============================

>
> That's what I did
>
>> To load the modules that are needed, add this to /etc/init.d/boot.local
>> ##### loading of hw sensors ######
>> #----cut here----
>> # I2C adapter drivers
>> modprobe i2c-isa
>> # I2C chip drivers
>> modprobe it87
>> # sleep 2 # optional
>> /usr/bin/sensors -s # recommended
>> #----cut here----
>> #????????????----cut here----

>
> I missed/overlooked this one
>
> sensors detect also told me to add some modprobe-lines to an /etc/rc
> file, but since SuSE uses /etc/init.d/foo files instead I created a file
> /etc/init.d/sensors but didn't activate it with chkconfig sensors add,
> because I detected that there was already a file /etc/init.d/lm_sensors.
>
> After rebooting my machine, sensors showed me a list of voltages and
> temperatures. None of the GUI front ends mentioned in the article are
> pre-installed. Are there any SuSE-RPMs for the GUIs?
>
> The voltage list btw seems to be wrong:
> -12V: -4.04 V (min = -12.63 V, max = -11.41 V) ALARM
> -5V: -13.64 V (min = -5.26 V, max = -4.77 V) ALARM
>
>
> Christian
>


Frontends - gdesklets, superkaramba and gkrellm (and of course others like
ksensors). Each is a base to which additional functionality can be added
(actually only gkrellm has stuff to begin with). I think they're all inc.
in the dist and additional modules can be downloaded. Gkrellm should have
all you'd want in the base product (Guru has rpm's if needed.) and it
would be my recommendation.


--
Suse 10.1 x64, kde3.53, opera 9.x weekly
  #10 (permalink)  
Old 17-Jul-2006, 12:42
Christian Barmala
Guest
 
Posts: n/a
Default Re: Monitoring CPU temperature

Bill P wrote on 17.07.2006 00:28:
> Christian Barmala wrote:
>> Are there any SuSE-RPMs for the GUIs?

> Frontends - gdesklets, superkaramba, gkrellm and ksensors. I think they're all inc. in the dist


I checked with yast2 sw_single and only the original DVD as installation
source (no packman, no guru) and only found GKrellM. It's quite obvious
to configure.

Thank you,
Christian

 
Page 1 of 2 1 2

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2