I run the 'sensors' program in Linux always on the desktop, to monitor the PC/server, that is always on, just to see if things are still in range, like supply voltages, temperature, fan speed, etc.
I noticed the CPU fan speed was really low at times. Wondered if it needed replacing... I have replaced bearings before in one.
First I had a theory about air pressure, but could not see any correlation. So, then I though mm, maybe voltage, and decided to log speed versus voltage every minute. Nope. Added CPU temperature, slow speed should give high temperature right?
No, slow speed corresponded to low CPU temperature, shit looks like the thing does speed control in the BIOS / mobo, fan speed control.
Did not know that:
So in the night when heating is set to low in the room, the processor cools, and the CPU fan also speeds down. In the summer you see very little change.
Script:
while [ 1 ] do year=`/bin/date +%Y` month=`/bin/date +%m` day=`/bin/date +%d` hour=`/bin/date +%H` minute=`/bin/date +%M` speed=`/usr/bin/sensors | /bin/awk /"CPU FAN Speed"/'{print $4}'` volts=`/usr/bin/sensors | /bin/awk /"+12 Voltage:"/'{print $3$4}'` temp=`sensors | awk /"CPU Temperature:"/'{print $3}'` echo -e "$year-$month-$day $hour:$minute $speed $volts $temp" >> /root/cpu_fan_speed.log sleep 60 done
:-) Obvious.