LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-05-2007, 01:53 AM   #1
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Rep: Reputation: 15
cpu temp monitor - kernel module??


Hello all

I am running opensuse 10.2 and would like to monitor my cpu temp. I have installed superkaramba and kima, but neither of them show the temp. Whilst searching for an answer on the net, i believe I have to "patch" my kernel?

I have ended up confused by the threads I have found, although I have been using Linux for a few years. They all assumed I would know how to patch the kernel, which is the one area I have kept clear of until now.

Any help, in steps, or just in the right general direction would be great.

Thank you for looking

Mac
 
Old 06-05-2007, 08:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,710

Rep: Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090
Check around for information about lm_sensors, and the associated stuff that goes with it. You'll have to configure it to work with your box.
 
Old 06-05-2007, 11:22 AM   #3
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
thank you, will do. i will post how i get on. Mac
 
Old 06-05-2007, 12:55 PM   #4
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
What is your motherboard type?
 
Old 06-05-2007, 01:21 PM   #5
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
hi, its an Abit AS8
 
Old 06-06-2007, 01:12 PM   #6
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
ok, i still not had any joy. I found a link http://www.pronetit.com/2007/04/10/lm-sensors/

and another here :
http://linux.wordpress.com/tag/linux...-opensusesuse/

neither worked, does that mean my motherboard (abit as8) is not compatible? or does anyone know how i can find out?

thanks again for all your help

Mac
 
Old 06-06-2007, 04:13 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,595

Rep: Reputation: 98
Quote:
Originally Posted by i666an
hi, its an Abit AS8
You have the uguru chip that should be monitoring your functions like the temperature, voltage and fans. Now depending on the kernel you have installed you should be able to just modprobe abituguru I believe it was 2.6.19 where I had to stop patching my kernel for my old AV8 board it to work. In addition I believe you need lm-sensors at the version 2.10.2 as I think it was the .1 where I had to stop patching it for it to work. Also you can use gkrellm at version of 2.2.10 or better without patches to have it monitor the temperatures/voltages/fans if wanting to use the resource pig superkaramba this is what I used to monitor the settings until I got tired of seeing it use 10% of my cpu all the time.

Code:
# Motherboard Temperatures

<group> x=0 y=79 w=200 h=64
        image x=0 y=0 path="img/bg-module.png"
        image x=0 y=32 path="img/bg-module.png"
        image x=8 y=13 path="img/temp3.png"

        # CPU
        image x=48 y=6 path="img/backbar.png"
        #bar x=48 y=6 w=150 h=15 vertical=false sensor=sensor type="CPU Temperature" path="img/bar.png" max=60 interval=10000
        text x=48 y=7 value="CPU Temp"
        text x=196 y=7 value="C" align="right"
        text x=180 y=7 sensor=sensor type="CPU Temperature" align="right" interval=10000

        # SYS
        image x=48 y=26 path="img/backbar.png"
        #bar x=48 y=26 w=150 h=15 vertical=false sensor=sensor type="SYS Temperature" path="img/bar.png" max=60 interval=10000
        text x=48 y=27 value="SYS Temp"
        text x=196 y=27 value="C" align="right"
        text x=180 y=27 sensor=sensor type="SYS Temperature" align="right" interval=10000

        # PWM

        image x=48 y=46 path="img/backbar.png"
        #bar x=48 y=46 w=150 h=15 vertical=false sensor=sensor type="PWM Temperature" path="img/bar.png" max=60 interval=10000
        text x=48 y=47 value="PWM Temp"
        text x=196 y=47 value="C" align="right"
        text x=180 y=47 sensor=sensor type="PWM Temperature" align="right" interval=10000

</group>
So to make it short as long as you have the programs above at the required version available to install then install the lm-sensors package run the sensors-detect as root in a console/console window if running graphically put the lines in your /etc/modules it tells you to for when you reboot, running the sensors command after the detect should show you your values it finds every other program that monitors should now just work.
 
Old 06-07-2007, 04:09 AM   #8
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you Happy Tux, i almost got it working. It does work with the "sensors command", but will not show cpu temp in Gkrellm ? any ideas?

to be honest, i am not sure in suse 10.2 where i should copy the lines to?

Thanks again, mac

Last edited by i666an; 06-07-2007 at 04:24 AM.
 
Old 06-07-2007, 08:27 AM   #9
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Rep: Reputation: 31
Hi,
first install sensors (in terminal start sensors-detect)and follow up the installation instructions. Then you will be
At the end you will be asked to do this:

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
# modprobe unknown adapter saa7134[0]
modprobe i2c-nforce2
# Chip drivers
modprobe eeprom
# Warning: the required module k8temp is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe k8temp
modprobe it87
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y

If you have installed the MC (Midnight Commander) it is very easy. Then you should restart your comp.Start Gkrellm and configure it by clicking with right mouse button on the upper part of Gkrellm window or press F1. The Configuration window will open and you have just click on the sensors you want to have on . There are temperature, Voltages and fans, CPU etc. You will see.


 
Old 06-07-2007, 01:46 PM   #10
i666an
LQ Newbie
 
Registered: May 2005
Location: Cornwall
Distribution: openSuse 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
Many thanks, I now have Gkrellm showing my cpu temp. I am very grateful to everyone who helped me.

Mac
 
  


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
CPU temp monitor medorpg Linux - Software 2 09-07-2005 08:38 AM
CPU Temp monitor huno Linux - Hardware 2 02-21-2005 09:27 PM
CPU Speed and Temp Monitor Chryyz Linux - Software 6 01-09-2005 08:42 AM
CPU temp and a 2.6.x kernel Hangdog42 Slackware 3 11-01-2003 08:21 AM
CPU temp monitor? dittohead Linux - Hardware 10 07-01-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration