Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th February 2006, 05:06 AM
Cr0n_J0b Offline
Registered User
 
Join Date: Jun 2004
Posts: 75
logging heat and power etc.

My system has shut down a few times with no warning...always when I'm away. It just locks up. I think it might be heat related but I can't figure out how to get my lm_sensors to keep a log of the heat and power measurements. Any one have an idea here? I think this is pretty basic, but i searched google and the lm_sensors FAQ and couldn't find it.

thanks
Reply With Quote
  #2  
Old 11th February 2006, 05:17 AM
peters Offline
Registered User
 
Join Date: May 2005
Posts: 165
Try running 'sensors' by itself and see what it gives you. I wrote some scripts on my little web server that actually charts out and graphs harddisk temperature and the MB temperature using a bit of this data. I think I'm pulling the HD temp using 'hdparm' . You can do 'crontab -e' to create a cronjob (UNIX 101). Hope you are familiar with Vi. There are probably other tools to do it. You could probably, every 5 minutes, append the temps you want to to a file somewhere along with the date and time.. Pretty easy stuff. And fun. Btw, if your system spontaneously shuts down I recommend running "data=journal" mode on your ext3's. Look at 'tune2fs' and '/etc/fstab' to change your settings to enable that. What shows up in your logs? Use 'less /var/log/messages' and see if there are any warnings that occur before shutdown. That is pretty weird.
Reply With Quote
  #3  
Old 11th February 2006, 04:35 PM
Cr0n_J0b Offline
Registered User
 
Join Date: Jun 2004
Posts: 75
thanks

I'll take the scripting under advisement. I was hoping to find something off the shelf that could just do this. I think that sensord should do this, but it's not included with lm_sensors anymore. I was going to load ip up, but there are a bunch of dependend files that I would have to load first.

I checked messages and I'm seeing lots of firewall hits, but that's all up to the lockup at 5:00am. There's some hard drive errors that I'm going to need to look into on one of my raid sets, but I don't think that's it...maybe...

I moved around some of the cards in my case to give a bit more breathing room for my video card. It's a high performance card and didn't really have room to vent...I'm hoping that was the issue.

The CPU is also running hot and I don't know why. It's at about 51C, but the case is at 30C and it's got a huge fan and HS on it. I tried resetting it and taking off some of the thermal paste, thinking that I might have had too much, but it's still still hotter than I would like...it should be in range for operation however.

one last question:

there is a command that I've used in the past that will echo everything going to the message file to the terminal...but i forget the syntax. Any thoughts?
Reply With Quote
  #4  
Old 12th February 2006, 12:45 PM
duncan Offline
Registered User
 
Join Date: Feb 2004
Location: Florida (central)
Age: 63
Posts: 87
tail -f /var/log/messages
Reply With Quote
  #5  
Old 13th February 2006, 05:07 PM
peters Offline
Registered User
 
Join Date: May 2005
Posts: 165
I like to do "less -Sn /var/log/messages", then once I'm in I type "F" ... Same thing as tail, but I can CTRL-C and then look at the past.. And reconnect. Etc.
Reply With Quote
  #6  
Old 14th February 2006, 02:28 AM
simonn Offline
Registered User
 
Join Date: May 2005
Location: Sydney, Australia
Age: 39
Posts: 217
I just built a quiet system and to test the temperature I wrote a script to write the date/time, M/B and CPU temperatures from sensors to a log and called it every minute via cron:

the script /root/testtemp:

Code:
date >> /root/temp.log
sensors | grep Temp >> /root/temp.log
/etc/crontab

Code:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*  * * * * root /root/testtemp
Once this is setup, run cpuburn-in for a few hours.

What CPU is it BTW? Some do run that hot (or hotter e.g. AMD XP).

I suspect that thermal paste is the cause, at least it was for me with my old XP 2600 (now have Sempron 64 3000 which is a lot cooler). Remove all the current paste with ArctiClean and reapply some arctic silver or something. You really do not need much.

Also, what kernal are you running? 2.6.15-1.1830_FC4 Caused my PC to do a similar thing when I had my external HDD plugged in. 2.6.15-1.1831_FC4 fixed it.
__________________
"Your attitude reminds me of a hairdresser who wonders why anybody took Einstein seriously with a haircut like that."

Last edited by simonn; 14th February 2006 at 02:36 AM.
Reply With Quote
Reply

Tags
heat, logging, power

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rather Hot (as in heat) Netbook raschko Hardware & Laptops 10 22nd January 2009 10:38 AM
F7 heat issue mitchell2345 Using Fedora 2 16th June 2007 05:27 PM
Military heat ray gun Coolerthanyou Wibble 1 26th January 2007 11:06 AM
heat/fan noise mitchell2345 Using Fedora 4 30th November 2006 09:42 PM
FC4 stop logging after Webmin installed ( bandwidth logging ) simonxyz EOL (End Of Life) Versions 0 15th November 2005 10:48 AM


Current GMT-time: 23:39 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat