Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have been having an overheating issue which makes my laptop shutdown immediately. Is there anyway to monitor the temperature from the sensor and scale down the CPU frequency to avoid that problem? Is there any existing software or shell script that can handle that job?

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

You should have a look at cpufreq-set and cpufreq-info. On Debian and derived distros they are in the cpufrequtils package. For example, on an old laptop with a bad fan that I use as a file server at home I have made these settings:

sudo cpufreq-set -c 0 -g ondemand -u 800000
sudo cpufreq-set -c 1 -g ondemand -u 800000
share|improve this answer
    
Great, I've just tried and it work great! –  Uoc Nguyen Jun 15 '11 at 11:15
add comment

There are such tools, but you should look into blowing dust out of your laptop cooler heatsink instead. If that doesn't help you might want to examine/replace thermal grease under heatsink or ultimately bring your laptop to authorized service.

Note: disassembling a typical laptop might be not a trivial task, but instructions can be found on the web rather easily. Consult your warranty card before disassembling!

share|improve this answer
2  
You're giving legal advice to people from Vietnam? ;) –  Kim Jun 15 '11 at 11:15
    
I has disassemble already to clean vacuum from air vent and also use an external cooler but it don't help much. I'm living in a big city so the way to clean vacuum frequently will make my laptop go damage fast :P may the better heatsink can help a bit, thanks! –  Uoc Nguyen Jun 15 '11 at 11:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.